Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tcf-dev] Extended breakpoint stop reasons proposal

Hello,

In February, the Breakpoints service has been modified to support the "EventType" and "EventArgs" attributes for event breakpoints. When such breakpoints are triggered, the stop reason of the context suspend event sent by the agent is the same than a classic breakpoint (i.e Breakpoint). From an user point of view, it might be useful to see a stop reason that describes the specific event breakpoint. What do you think?

My proposal is to add an API at the context level (i.e context_get_extended_breakpoint_stop_reasons()) to return the stop reason(s) of the event breakpoint.

/*
 * Get extended breakpoint stop reasons
 * Return one or more breakpoint stop reasons.
 * If no context specific reason is found, return NULL as default.
 */

#if ENABLE_ExtendedBreakpointStopReasons
extern const char * context_get_extended_breakpoint_stop_reasons(Context * ctx);
#endif


Regards,
Renan


Back to the top