Buy Contact NSDSP Home

nsdsp_debug_fetch_data_nb

This function retrieves the data requested with nsdsp_debug_read_ram function. Unlike nsdsp_debug_fetch_data, if the data is not immediately available, it fetches whatever data is available and returns.

Syntax

unsigned int nsdsp_debug_fetch_data_nb(
        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 the amount of data put into the buffer. This may be less than size. If there is no data immediately available, the function returns zero.

Notes

This function is different from nsdsp_session_fetch_data_nb. Do not use nsdsp_session_fetch_data_nb when debugging.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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