Code Comments
Programming Forum and web based access to our favorite programming groups.I'd like to have a Fortran Compiler to do debug and to execute one code line at time and to watch tha variable value. Do you know free compiler? TNX
Post Follow-up to this messageFor 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...nal_edition.asp or at http://www.polyhedron.co.uk/salford...5_personal.html Others can comment on compiler/windowed debugger options under Linux. Skip Knoble On Thu, 02 Jun 2005 17:00:20 GMT, "Ciobin" <lingo74@forzaferrari-libero.it> wrote: -|I'd like to have a Fortran Compiler to do debug and to execute one code li ne -|at time and to watch tha variable value. -| -|Do you know free compiler? -| -|TNX -|
Post Follow-up to this message"Herman D. Knoble" <SkipKnobleLESS@SPAMpsu.DOT.edu> ha scritto nel messaggio news:fihu91dptp3gaaemnqg3h6dhjuqg7pq9fo@ 4ax.com... > 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...nal_edition.asp > or at > http://www.polyhedron.co.uk/salford...5_personal.html > TNX !!!! Has it a GUI?
Post Follow-up to this messageYes, the Windowed Debugger is the GUI, if that's what you mean. If you mean the running proggram producing windows, it has Clear Win+ which includes a tutorial. Skip On Thu, 02 Jun 2005 18:06:40 GMT, "Ciobin" <lingo74@forzaferrari-libero.it> wrote: -| -|"Herman D. Knoble" <SkipKnobleLESS@SPAMpsu.DOT.edu> ha scritto nel messagg io - |news:fihu91dptp3gaaemnqg3h6dhjuqg7pq9fo @4ax.com... -|> 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...nal_edition.asp -|> or at -|> http://www.polyhedron.co.uk/salford...5_personal.html -|> -|TNX !!!! -| -|Has it a GUI? -|
Post Follow-up to this messageCiobin: Sorry that I missed what you mean. Salford FTN95 does not have a Visual Studio-like GUI. To facilitate compilation for the Windowed Debugge r (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 erro r; 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, t hen 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@forzaferrari-libero.it> wrote: -| -|"Herman D. Knoble" <SkipKnobleLESS@SPAMpsu.DOT.edu> ha scritto nel messagg io - |news:fihu91dptp3gaaemnqg3h6dhjuqg7pq9fo @4ax.com... -|> 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...nal_edition.asp -|> or at -|> http://www.polyhedron.co.uk/salford...5_personal.html -|> -|TNX !!!! -| -|Has it a GUI? -|
Post Follow-up to this messageCiobin wrote: > I'd like to have a Fortran Compiler to do debug and to execute one code li ne > at time and to watch tha variable value. > > Do you know free compiler? > > TNX > > Photran is a GUI development environment with a debugger that is not yet great, but certainly does simple things like you ask for. It works with compilers g95 and gfortran and F. All of these are free (and available on a CD for a modest price). Information and links for all this at fortran.com. -- Walt Brainerd +1-877-355-6640 (voice & fax) The Fortran Company +1-520-760-1397 (outside USA) 6025 N. Wilmot Road walt@fortran.com Tucson, AZ 85750 USA http://www.fortran.com
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.