Cart Contact NSDSP Home

nsdsp_debug_read_bp_state

This function reads the state of hardware breakpoints.

Syntax

unsigned int nsdsp_debug_read_bp_state(
        nsdsp_session_t   session
);

Parameters

session - a reference to the Debug Session Object obtained with nsdsp_session_program_for_debug or nsdsp_start_debug_session function

Return

The function returns the number of bytes used to transmit the information about breakpoint states, or zero in case of failure.

Notes

This instruction only queues a command. The command will be sent to NSDSP when you queue enough commands to fill the buffer or when you call nsdsp_session_flush.

Once the data arrives, you can retrieve the state of hardware breakpoints with nsdsp_debug_fetch_bp_state function.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

© 2007-2025 Northern Software Inc. All Rights Reserved.