#Debugger in wrong file
3 messages in this thread
Hi!
I'm having a problem with both the source debugger and the C++ compiler. Both
seem to frequently report the wrong file for an error.
For example, the compiler will report an error on line 34 of the Prefix, even
though I don't have any prefix code. After several minutes searching through
my source files, I can find one with an error at line 34. Why can't the
compiler just tell me the correct file to begin with?
With the debugger, I will be attempting to step through my code… upon a
function return the stack window claims I'm in one function, but the code
window shows a completely unrelated file, though at the correct line number if
it had been in the correct file! This doesn't seem to be related to
constructors or destructors. The debugger will never step into the file it
should be in, or even stop at breakpoints I've set there. This makes it
practically impossible to use the source debugger, so I've resorted to
hand-inserted breakpoints in the source.
Are you aware of these problems? Is there a work-around?
Thanks in advance for your help!
– Ames
Ames,
I have run into the same problem as you in regards to the debugger displaying
the wrong file, while showing the correct function name in the status line at
the bottom of the debugger window.
Every time that it is in the incorrect function, the debugger shows an inline
function in one of my .h files instead. Are youexperiencing the same behavior?
I reported this to tech support and I was promised a call back.
jud spencer
Jud,
Yes, that sounds like exactly the behavior I'm getting… with the correct
function name below, but an irrelevant inline function header file in the code
window.
Frustrating, ain't it?
Please let me know if Symantec tells you anything useful!
– Jud (Ames)
(P.S. My full name is Judson Ames Cornish 🙂