replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Any line by line debugging?
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 

Any line by line debugging?

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



Joined: 13 Nov 2012
Posts: 4

PostPosted: Fri Nov 16, 2012 4:08 pm    Post subject: Any line by line debugging? Reply with quote

Hi everybody. I wonder if there is this line by line debugging system in FORTRAN? I mean something the same as MATLAB that you can see line by line between two breakpoints the calculated values of each correlation and code.

Thanks
Back to top
View user's profile Send private message
davidb



Joined: 17 Jul 2009
Posts: 560
Location: UK

PostPosted: Fri Nov 16, 2012 8:26 pm    Post subject: Reply with quote

You can debug using Plato and the Silverfrost debugger.

First make sure you compile your project with debugging or checkmate enabled. Then right-click on the first line of your program and click "Run to Cursor". The debugger will run and show your program paused on that line.

You can then step through the code line by line by pressing F7 and examine the values of variables. These can be viewed in a special variables window, or by pointing to a variable in the source code. For arrays and user defined data types, you can see the contents of the variable by right-clicking on it.

You can run the debugger outside of Plato but I think this is the easiest way when you are starting out.

If you are using the visual studio shell plugin (FTN95 Express), you can also debug in that in the same way.

If you have any problems, post back, and I or someone else will try to help.
_________________
Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl
Back to top
View user's profile Send private message
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