LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

debug indication on GUI

Wouldn't it be great if there was some indication you are in debug configuration or production configuration?  As it is, you have to navigate to the config menu entry to tell now, unless I'm missing something.

Menchar
0 Kudos
Message 1 of 9
(4,180 Views)
Hi menchar,

There is a warning that you can enable that lets you know when you are executing in Release configuration.  If this sounds like something you might want to use, please see this knowledge base article for more details: Enable CVI Warning When Executing in Release Configuration .


There is also a way to determine the configuration mode at runtime using the _CVI_DEBUG_ macro in your code.  This could be used to let you know which mode you are in when you run your application.  For more information, please see this knowledge base article: Determine the Configuration Mode of a DLL or Executable in LabWindows/CVI.

If neither of these methods are what you were looking for, please feel free to submit a product suggestion at our Product Suggestion Center.



Message Edited by J_Stape on 03-28-2008 08:20 AM
Jessica
National Instruments
Product Support Engineer
Message 2 of 9
(4,162 Views)
No, that is not at all what I was looking for.

I was looking for an indicator on the toolbar or somewhere else on the GUI that indicates which mode you are in without drilling down to the config setting in the build menu.

I, and most any other CVI developer who uses CVI a lot have done this hundreds of times.  It is a PITA and a waste of time.  There's plenty of room in the toolbar to hold an indicator that says something like "Debug Mode"  or "Release Mode" so you can tell at a glance.

Tell you what, why don't you submit the idea.


0 Kudos
Message 3 of 9
(4,143 Views)
you mean, a drop down list on CVI's toolbar which allows you to choose which configuration you are in ? if that's it, agreed !
0 Kudos
Message 4 of 9
(4,139 Views)

No, just a simple icon so you can simply look at the CVI GUI and know what mode you're in.

The only way now is to click build -> configuration.

Oddly enough, you can toggle the build configuration between debug and production using the toolbar "Toggle Build Configuration" control, but you can't tell by looking at it which mode you're actually in!

Menchar

 

0 Kudos
Message 5 of 9
(4,128 Views)
In case you were wondering Menchar, I found your original post to be self explanatory... so... I knew what you meant, and I second that motion btw.
0 Kudos
Message 6 of 9
(4,102 Views)
Hi All,

I have filed a product suggestion for this.  Thank you for your feedback.

Jessica
National Instruments
Product Support Engineer
0 Kudos
Message 7 of 9
(4,069 Views)
Thanks Dan.   Sometimes I can't tell if someone's being purposely obtuse or if they're just kindof slow 🙂

Menchar
0 Kudos
Message 8 of 9
(4,065 Views)

So I installed CVI 9.0.1, hoping that this minor addition would have been added, but it hasn't.

 

This is even goofier than I had realized - it would be adequate to simply have a control to set a specific mode (debug or release) but what they have just toggles the mode and you have to remember what mode you had the IDE in so you can know what mode you've just entered.

 

I guess for my own peace of mind I should just let this go ....  😉

 

 

 

 

0 Kudos
Message 9 of 9
(3,568 Views)