LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

On the right click menu "Go to Definition"

Hello NI,

 

let's assume a project with three source code files.

File B defines a variable

double x [ 4 ] = { 0 };

File A and file C use this variable according to

extern double x [ 4 ];

 

Now I am editing file C and right click on a line with

 x [ 2 ] = ... and choose "Go to Definition". Where is the cursor supposed to jump to?

 

In my case it jumps to the extern double definition in file A.

I would have expected it to jump to the original definition, i.e., the double x in file B, or, at least, to the secondary definition in the same file, but not to the secondary definition of some other file...

 

Also this post on a very similar issue has never been answered...

 

Thanks!

0 Kudos
Message 1 of 3
(2,540 Views)

HI you have to select Debug option instead of release option,in developer window 

 

 

Regards

Germanbrain

0 Kudos
Message 2 of 3
(2,489 Views)

Thanks for your comment but I have to say that I am using the debug configuration...

0 Kudos
Message 3 of 3
(2,478 Views)