LabWindows/CVI Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
hendra@ngms

Provide General Control Over Events Generated

Status: New

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.

1 Comment
jared
Member

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.