Everything
C. External Communications with the Python 3 Execution Environment/csplus Module Functions

This section describes the csplus module functions which are used for external communications with the Python 3 execution environment.

Table C.12

csplus Module Functions

Function Name

Function Description

csplus.add_address_breakpoint

This command adds an address breakpoint with additional type setting.

csplus.add_event_listener

This command adds the specified listener to the list of functions to be called when an event happen in CS+.

csplus.connect

Establish socket communication between Python 3 execution environment and CS+.

csplus.download_loadmodule

This function downloads a file.

csplus.get_all_breakpoints

This function gets information of all breakpoints.

csplus.get_expression_info

This function gets size, type and value of an expression.

csplus.get_float_expression

This functions gets value of a float expression.

csplus.get_integer_expression

This function gets value of a integer expression.

csplus.get_register

This function gets value of a register.

csplus.get_source_line_address

This function gets address of a source line.

csplus.get_symbol_address

This function gets address of a symbol.

csplus.get_variable_size

This function gets the size of a variable.

csplus.get_variable_type

This function gets the type of a variable.

csplus.is_debug_session_running

This function checkes the debug sesion is running or not.

csplus.launch_debug_session

This function launches a debug session.

csplus.read_memory

This function refers to the memory.

csplus.remove_all_breakpoints

This function removes an address breakpoint.

csplus.remove_event_listener

This function removes the specified listener from the list of functions to be called when an event happen in CS+.

csplus.reset_debug_session

This function resets a debug session.

csplus.resume_debug_session

This function resumes a debug session.

csplus.set_float_expression

This function sets value of a float expression.

csplus.set_integer_expression

This function sets value of a integer expression.

csplus.skip_all_breakpoints

This function skips all breakpoints.

csplus.step_in

This function steps through source codes instructions.

csplus.suspend_debug_session

This function suspends a debug session.

csplus.terminate

This function terminates the connected CS+, CS+ will be closed.

csplus.terminate_debug_session

This function terminates debug session.

csplus.write_memory

This function writes memory value.