LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Debug mode breaks at switch break statement ,without break points

Solved!
Go to solution

Hello,

 

Iam using Labwindows CVI9.

 

Iam simulating a GUI,when my application is run in Debugmode,My application breaks at switch break statements

 

eventhough i didnt set any break points.

 

I would be greatful if someone gives suggestions regarding this

 

Thanks & regards

Suresh

0 Kudos
Message 1 of 3
(3,721 Views)

Suresh:

 

Are you sure that no breakpoints are set?  In the CVI project window, go to Run >> Breakpoints... to see the list of all breakpoints in your program.

Or you may also have a Watch expression set.  Does a Watch window open at the bottom of the project window (or in a new window) when the program breaks?  If it does and you don't want the watch expression, just highlight the expression in the Watch window and press Delete.

 

 

In CVI help, go to the Index tab and enter watch expression to get more info on breakpoints, conditional breakpoints, and watch expressions.  Breakpoints and conditional breakpoints refer to individual lines on code: watch points do not.  CVI evealuate watch points before each statement in your code.  Breakpoints and conditional breakpoints show up as icons in the left-hand column in a source window, watchpoints do not.

 

To manage breakpoints, in the CVI project window, go to Run >> Breakpoints...

To manage watch points in CVI 9, in the CVI project window, go to Run >> Add Watch Expression.

Message Edited by Al S on 10-15-2009 07:54 AM
Message 2 of 3
(3,712 Views)
Solution
Accepted by topic author Surya_lol

Hi,

 

previously i added some variables in watch window to monitor when i set break points.

 

Now i removed all the variables in watch window.

 

Now the application is not breaking.

 

 Thanks a lot buddy.

 

Regards

Suresh

 

0 Kudos
Message 3 of 3
(3,702 Views)