PDA

View Full Version : debug common variables


m.brandtner
03-18-2004, 09:52 AM
hallo everybody
i am currently evaluating lfc for integration of old fortran stuff into a .net application written in c#. when i am trying to watch a common variable in vs.net, i will get the message 'unable to evaluate expression'. did i miss something or is it inpossible to debug common varaibles in general.
another thing is that sometimes the vs.net hangs and i have to kill the devenv with the task manager. did anybody have the same experience?

thx for your replies
markus

Don Johnson
03-18-2004, 09:02 PM
Oh yeah, we've had similar debugging problems here.
It also doesn't let you evaluate "save" variables or equivalenced variables. However, they generally have values, it's just that you can't see them in the debugger.

Same hanging problems with the devenv too. I've noticed it happens more if you pause and leave it sitting for a few minutes. Hopefully it'll be better after the next release.

tzeis
03-19-2004, 06:57 PM
If you are viewing the common variables in the watch window, try using the locals window instead. It seems like the locals window works better than the watch window for this sort of thing.

If you have an example that consistently hangs, and you can describe the steps taken to cause the hang, we would like to see it. We don't have any code that consistently causes a hang that we can use for identifying the problem and testing a solution.

m.brandtner
03-19-2004, 07:55 PM
This is what I thought too, but the hang takes place when I am switching over to the locals window.
The devenv is eating all the CPU time and it seems that the process is still doing something since the memory consumption is increasing.
I tried the new version 7.1 but the problem still remains. I will ask the authors for the permission to provide you with the code. I assume that the code is treated confidentially.