For Programmers: Free Programming Magazines  


Home > Archive > Fortran > April 2006 > Compaq Visual Fortran ver. 6.6.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Compaq Visual Fortran ver. 6.6.
tuli

2006-04-20, 7:04 pm

Hello,

(Silly question?)
I am using Compaq Visual Fortran ver. 6.6.
When I am in the debug mode, and the program crashes I get the
assembler page with indication of the line where the program stopped.
When I go to the source code, there is no indication on where the last
line was executed.
Also the since the program stopped, I have no information about the
values of the various variables.

I guess I am missing something in the debugging process.
(Some link or compilations switches?)

Please advise. How am I supposed to find the bug if I do not have this
information?

Regards

Tuli

jdujic@yahoo.com

2006-04-25, 7:10 pm

tuli wrote:
> Hello,
>
> (Silly question?)
> I am using Compaq Visual Fortran ver. 6.6.
> When I am in the debug mode, and the program crashes I get the
> assembler page with indication of the line where the program stopped.
> When I go to the source code, there is no indication on where the last
> line was executed.
> Also the since the program stopped, I have no information about the
> values of the various variables.
>
> I guess I am missing something in the debugging process.
> (Some link or compilations switches?)
>
> Please advise. How am I supposed to find the bug if I do not have this
> information?


There is "Call stack" debug window which you can activate from
Debug/Windows menu or the Debug toolbar. When it appears, you get the
calling sequence, which must ultimately end up (or, better said, start
in) in your source code; double-clicking it gets you to the offending
line, where you can inspect the values of variables.


--
Jugoslav
http://www.xeffort.com

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com