replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Debug versus CheckMate
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Debug versus CheckMate

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Magliola



Joined: 10 Feb 2014
Posts: 8
Location: Chicago, Illinois USA

PostPosted: Wed Feb 19, 2014 4:16 am    Post subject: Debug versus CheckMate Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Wed Feb 19, 2014 9:48 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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