nsdsp_debug_fetch_data
nsdsp_debug_fetch_data_nb nsdsp_debug_fetch_word nsdsp_debug_fetch_flash_word nsdsp_debug_fetch_float nsdsp_debug_fetch_double nsdsp_debug_fetch_stack nsdsp_debug_fetch_bp_state nsdsp_debug_write_ram nsdsp_debug_write_reg nsdsp_debug_write_float_reg nsdsp_debug_write_double_regnsdsp_debug_fetch_data
This function retrieves the data requested with nsdsp_debug_read_ram function. Unlike nsdsp_session_fetch_data, if the data is not immediately available, it waits until the requested amount of data is available.
Syntax
int nsdsp_debug_fetch_data(
nsdsp_session_t session,
void* data,
unsigned int size
);
Parameters
session - a reference to the Debug Session Object obtained with nsdsp_session_program_for_debug or nsdsp_start_debug_session function
data - the buffer to be filled in with data
size - the size of the data requested in bytes
Return
The function returns non-zero if the data has been successfully retrieved, or zero in case of timeout.
Notes
This function is different from nsdsp_session_fetch_data. Do not use nsdsp_session_fetch_data when debugging.
Minimum library version - 163
© 2007-2026 Northern Software Inc. All Rights Reserved.