LabWindows/CVI Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
RobertoBozzolo

Restore toggle conditional breakpoint state with mouse click

Status: New

Before CVI2012 a conditional breakpoint could be toggled between enabled and disabled with a single mouse click. The behaviour changed in that version so that a mouse click now deletes the breakpoint.

I understand that this is more consistent with the behaviour of an unconditional breakpoint, which is set and deleted with the mouse click; I understand also that Ctrl+F9 shortcut key has been introduced to toggle breakpoint state, but in my opinion this new arrangement is less user friendly than before.

 

The risk is that once you set a conditional breakpoint, possibily with a complicated condition and/or pass count set to match some particular operating condition, you can delete it with a single click while you would maybe simply disabling it.

 

The same applies if you press F9, so I suggest additionally that when F9 key is applied to a conditional breakpoint it disables the breakpoint instead of deleting it.

 



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
2 Comments
Wolfgang
Trusted Enthusiast

Maybe one could also resolve this issue by adding a confirm popup before deletion actually takes place?

RobertoBozzolo
Proven Zealot

Well, an excessive use of popups slows down usability a lot in my opinion. Nevertheless, a dialog could help under the following conditions:

 

  1. The popup fires only for conditional breakpoints
  2. It includes both "Delete" and "Disable" options


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?