This function displays a location.
[Specification format]
debugger.Whereami(address)
|
[Argument(s)]
|
|
address
|
Specify the address of the location to display.
|
[Return value]
Strings of the location
[Detailed description]
- | This function displays the location at the address specified by address. |
- | The location is normally displayed in the following format. |
file-name#function-name at file-name#line-number
|
However, if the function or line number at that address is not found, then the location is displayed in the following format.
at symbol-name+offset-value
|
If the symbol is not found, then the location is displayed in the following format.
If address is omitted, then the location of the pc value is displayed.
[Example of use]
>>>debugger.Whereami()
foo.c#func at foo.c#100
>>>debugger.Whereami(0x100)
foo.c#main at foo.c#20
>>>
|