PDA

View Full Version : why i can't see my source code in memoryscape



room502
12-18-2008, 08:21 PM
when i compile my source code with -g ,but i can't see source code in memoryscape when i debug ,my compiler is intel

PeterT-RogueWave
12-19-2008, 09:05 AM
Assuming you're in a spot where you should be able to see source, it may be that MemoryScape can't find the right directory because the executable was moved from it's compilation directory. If that is the case, try

File->Search Path

and use one of the options on the right to add a directory. I'm fond of the "Add Directory Tree' myself, as it will search the directories underneath the directory specified as well. If that doesn't work, it may be that you are debugging C++ code, and we may not have correctly demangled the name of the routine, and memscape can't associate it with the correct file.

Those are the typical problems, but let me know if neither of those work.

Regards,
Pete