Everything

csplus.get_source_line_address


This function gets address of a source line.

[Specification format]

csplus.get_source_line_address(session_id, source_file, line_number)

[Argument(s)]

Argument

Description

session_id

This argument is ignored in this version.

source_file

The source file to get address from. Can be either file name or file path

line_number

The line number in the specified source file to get address at

[Return value]

The address of the source line at the specified line number in the specified source file

[Detailed description]

-

This function gets address of a source line.

-

If the specified source line does not have address, None will be returned.

[Example of use]

>>> csplus.get_source_line_address(0, "ccrx.c", 30)
1234