LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Debug application or shared library question

Hello list,

 

Using LV8.2 on Windows XP here. 

 

I have two LV EXE's that run simultaneously on the same PC.

 

Both are set in the Build Specs to "Enable Debugging", but when I try to connect to them to debug, only one is listed.  (the first of the EXE's to load)

 

Is it possible to set both to enable debugging and select the one I want to debug?

 

Thanks,

Mike 

0 Kudos
Message 1 of 6
(3,723 Views)

You should be able to select the application you would like to debug

 

From the LabVIEW Help: Debugging Applications and Shared Libraries

 

...

5. From the Project Explorer window, select Operate»Debug Application or Shared Library to display the Debug Application or Shared Library dialog box. The dialog box displays a list of applications and shared libraries with debugging enabled.

...

 

7.Select the application or shared library you want to debug.

Message Edited by Huter on 06-15-2009 07:19 PM
0 Kudos
Message 2 of 6
(3,695 Views)

Huter,

 

Thanks for the reply - I figured out my (first) problem - I didn't copy over the ini file that starts the debugger...so now I can see the front panel of the application.  Problem is, I have the front panel of my application set up to hide the title bar & menus, so they are also not displayed on the debugging screen (in fact an area about the same size as what the menu would take up is also missing from the top of the screen).

 

So the problem is I can't get to the block diagram.  Is there a way to do this...CTRL+E doesn't seam to work.

 

Mike

 

0 Kudos
Message 3 of 6
(3,682 Views)
Hi, Ctl-E won't work when the program is running.  If you have set your window appearance to have no tollbars or way to interact with LabVIEW, then you cannot open your block diagram after the program is running.  However, if you go back to the Build Specifications of the application, you will see a check box under "Enable Debugging" that says "Wait for Debugger on Launch".  Then when your program loads, it will allow you to start it by pressing the run button instead of automatically start running.  Then you can open the block diagram before you run it.  From the block diagram you can open any of the subVI's simply by double clicking them, and both front panel and block diagram should pop up.
Chris Bakker
SET Americas
CEO

0 Kudos
Message 4 of 6
(3,661 Views)

Thanks for the tip.  I'll try that.

 

Mike

0 Kudos
Message 5 of 6
(3,657 Views)

LV2009 has the ability to right-click on the front panel and a pop-up window is displayed allowing you to open the Block Diagram.  This feature exists as long as you have "Allow default run-time shortcut menus" checked (in the "Customize Window Appearance" screen of the VI properties).

 

Bruce 

Message 6 of 6
(3,529 Views)