Buy Contact NSDSP Home

nsdsp_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

Northern Software Home NSDSP Contact Us Purchase/View Cart

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