debugger.Address


This function evaluates an address expression.

[Specification format]

debugger.Address(expression)

[Argument(s)]

Argument

Description

expression

Specify an address expression.

[Return value]

Converted address (numerical value)

[Detailed description]

-

This function converts the address expression specified by expression into the address.

Caution 1.

If a script is specified to execute in the CubeSuite+.exe startup options, then the symbol conversion function will not be available until the debugging tool is connected. In other words, this function cannot be used, so execute it after connection.

Caution 2.

When a load module name or file name is specified in an address expression, it needs to be enclosed in double quotation marks (" ") in some cases. See "CS+ Integrated Development Environment User’s Manual: Debug Tool" for details.

Example

When file name "C:\path\test.c" and function "sub" are specified

"\"C:/path/test.c\"#sub"

Or

"\"C:\\path\\test.c\"#sub"

[Example of use]

>>>debugger.Address("main")
0x4088
>>>debugger.Address("main + 1")
0x4089
>>>