From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Provide general on/off control of event types, such as mouse-over, so they can be disabled. It is often very difficult to debug a callback by setting a break-point, then attempting to generate EVENT_COMMIT, EVENT_LEFT_CLICK or EVENT_RIGHT_CLICK. The mouse over event is generated first, of course.
Typically, breakpoints are set in the callback under a case statement in a switch (or if statement) for a particular event that you're interested in debugging.
Another way to do it is by setting a condition on the breakpoint. From the edit breakpoint dialog, you can enter "event == EVENT_LEFT_CLICK_UP" in the Condition control.