Re: Compilator Fortran



Ciobin: Sorry that I missed what you mean. Salford FTN95 does not have
a Visual Studio-like GUI. To facilitate compilation for the Windowed Debugger
(sdbg.exe), the easiest way I've found to effect a debug compile is to
make a short .BAT file invoking FTN95 with the debug options. E.g.,

@Echo off
REM This tells the compiled code to stop when an underflow occurs.
set salfenvar=trap_underflows
REM Invoke the compiler with debug options
FTN95 %1.F90 /LIST /NO_OFFSETS /DEBUG /CHECK /UNDEF /FULL_DEBUG
if errorlevel 1 GoTo Done
slink %1.obj
if errorlevel 1 GoTo Done

REM Set your own sourcepath for the debugger.
set sourcepath=c:\hdk\fortex\test
REM Invoke the debugger if compile and link went ok.
start wsdbg %1
:Done
set salfenvar=
set sourcepath=

This will compile, link, and invoke the windowed debugger. At that debugger
screen, you can either click "Run" to run to completion or to the first error;
or you can click "Step Into" to run a line at a time.

If you are compiling all or many f90 modules from a specific subdirectory, then
run the batch with argument with a wild card argument; e.g., *
would compile (and link) *.f90 .

Skip

On Thu, 02 Jun 2005 18:06:40 GMT, "Ciobin" <lingo74@xxxxxxxxxxxxxxxxxxxxxx> wrote:

-|
-|"Herman D. Knoble" <SkipKnobleLESS@xxxxxxxxxxxxxxx> ha scritto nel messaggio
-|news:fihu91dptp3gaaemnqg3h6dhjuqg7pq9fo@xxxxxxxxxx
-|> For the Windows Platform at least:
-|> The Salford Windowed Debugger allows what you want - stepping one line
-|> at a time, or setting breakpoints, and at each break point (or stop line)
-|> one can display any variables, including matrices. Those variable values
-|> that are undefined are flagged as value "????????". This is a very
-|powerful
-|> debugging tool.
-|>
-|> Get the (free for non-commercial purposes) Personal edition of FTN95 at:
-|> http://www.silverfrost.com/32/ftn95/ftn95_personal_edition.asp
-|> or at
-|> http://www.polyhedron.co.uk/salford/products/other/ftn95_personal.html
-|>
-|TNX !!!!
-|
-|Has it a GUI?
-|

.



Relevant Pages

  • Re: AWS issue
    ... Debugger for ada is not installed, so I can run the debugger, but the only answer I get is exit code 01. ... So I compile a single file with this function and link with all that stuff. ... At a glance it seems like you are missing -gnat05 in the compile command so you get and Ada95 compiler instead of Ada compiler. ... I've got two problems on AWS, hope there is some aws 2.3 users here. ...
    (comp.lang.ada)
  • Re: compiler errors
    ... compile a program that I downloaded from the net and keep getting a ... What is a DBG File and how do I set up the compiler to so I won't get ... debugging information necessary to do source code step-by-step ... The debugger is just warning you that it can't find the ...
    (microsoft.public.dotnet.languages.vc)
  • Re: unexplainable behaviour - f90 - looking for some tools to help diagnose
    ... using a debugger can help. ... But you should compile again your code with -g option and depending on the previous option used your code can run because of different layout of the datas in memory. ... If it fails (memory fault, segmentation fault) use the where command of the debugger to see where you are in the code.... ... I'm using CVS to store successive versions of my codes, but even if I can see exactly what has changed I do not undestand why I have a memory fault! ...
    (comp.lang.fortran)
  • RE: Strange behavior with dynamic code compilation and VS.NET debu
    ... so when I compile with debugging information I get different behavior then ... Maybe we should go back to using lots of write lines instead of the debugger ... >> reference exception is ONLY thrown if the debugger is attached???? ...
    (microsoft.public.dotnet.framework)
  • Re: FAQ 3.5 How do I debug my Perl programs?
    ... > great windowed debugger, in the style that many people coming to Perl ... Prev by Date: ...
    (comp.lang.perl.misc)