LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote debugging in CVI 8.5.1

Solved!
Go to solution

I rebuilt a debug version of the executable and copied the .exe and .cdb to

the remote target (a PC). I started up the Configure Remote Debug application on

the target. When asked I started the .exe. I get the error "The debugging

information file for this file is out of date. <EXE NAME> You will be

unable to debug this dll/exe. Would you like to terminate.

 

Another engineer running 8.5.0 is able to remote debug on the machine.

0 Kudos
Message 1 of 7
(4,253 Views)

Hey Scott,

Does the target machine have CVI installed on it? And can the other engineer rebuild and successfully debug on the machine with the same exe ?

Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 2 of 7
(4,223 Views)

The target machine doesn't have the CVI development library installed, just the run time engine. 

I'm pretty sure that he rebuilt it with his version (8.5.0) before trying the remote debug.

 

We both rebuilt debug versions and copied them over to the target PC before doing the debug.

0 Kudos
Message 3 of 7
(4,203 Views)

Okay, after what step in this process http://zone.ni.com/devzone/cda/tut/p/id/3384 are you getting the error? Also after you dismiss the error, what happens? Make sure that since there are two of you debugging remotely, that you're not trying to do it at the same time, or that the remote machine isn't connected to the wrong debugging host. Based on your error message i doubt that would be the cause, but you never know. Since I would assume that both of you are on the same network, and you're using the same version of CVI there should be no reason this isn't working. Get back to me with the info I asked for and I can we can do some more digging.

 

 

Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 4 of 7
(4,191 Views)

The error happens when I press Shift+F5 or Debug Project and then launch the executable

If I choose Terminate then the debugging and the executable stops

If I let it run, the .exe runs but I can't debug

 

The only difference is that I'm using 8.5.1 and he's using 8.5.0

 

We are not trying to debug at the same time.

0 Kudos
Message 5 of 7
(4,144 Views)
Scott, have you tried deleting your debugging file completely, and re-creating it, then re-deploying?
Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 6 of 7
(4,141 Views)
Solution
Accepted by topic author Scott

Found the problem. I am compiling the program off of a network drive, T:. I had an old version of the .exe and .cdb on a directory on my computer C:

When I deleted the local copy on C:, then it started working. I'm not sure why it was looking on my C: drive since my project directory is T:

0 Kudos
Message 7 of 7
(4,056 Views)