 |
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
Magliola
Joined: 10 Feb 2014 Posts: 8 Location: Chicago, Illinois USA
|
Posted: Wed Feb 19, 2014 4:16 am Post subject: Debug versus CheckMate |
|
|
I am porting a large program that was compiled with the Digitial FORTRAN / COMPAQ FORTRAN compiler to FTN95 with the Visual Studio Shell. The source is now compiling, linking and generating a running EXE. I have built two EXE's. Version 1 using DEBUG+WIN32, and Version 2 using CheckMate+WIN32. Both versions use the exact same source code.
Using the Visual Studio debugger to step through the program, Version 1 shows a variable equal to zero, while Version 2 identifies the same instance of the variable as UNDEFINED. I assume CheckMate is giving me a true result and the variable is undefined. So now I am trying to hunt down the error. (I did not write the original code and it is many thousands of lines long.)
QUESTIONS:
1) What are the differences between DEBUG and CheckMate compiler options? Can someone point me to the correct spot in the documentation? I don't see in the documentation which type of errors DEBUG versus CheckMate will flag.
2) I am learning the debugger in Visual Studio. Is there the option to watch a variable and break execution whenever the variable changes? Again, can someone point me to the correct spot in the documentation?
Thank you. _________________ Regards,
Bob |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Wed Feb 19, 2014 9:48 am Post subject: |
|
|
1) Basically DEBUG only plants code for navigating through the debugger whilst CHECK etc. add to this, code for checking for various faults at run time.
2) I am not sure what is available when using the Visual Studio plug-in but from the stand-alone debugger SDBG, you can set a "Use" break by right clicking on the variable in the "Variables" window. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|