Basic debugging commands

From: Gaylon Stockman <stockman_at_rdbewss.redstone.army.mil>
Date: Mon, 14 Feb 2000 13:35:24 -0600 (CST)

OS Tru64 v4.0E

 Can anyone lend some help on dbx and/or
ladebug debugging commands ??

  I have a very large simulation. It is a mix of Fortran,
Fortran90, C and C++. I would like the simulation to run
to a certain "time" where time is actually a variable
inside the Fortran routines.

  Once that "time" has been met I would want the
program to run until either of two variables get
changed. I would then like to look at the routine and
place where the variable changed. I would then like
to continue until the next change occurs.

 Is this easily accomplished with either of these
debug utilities ???

 FYI. The executeable and code are in different
directories.


 For example, what I would want to do:

 dbx> set source dir ../src
 dbx> when time=5700 pause
 dbx> set watch kontinue(8)
 dbx> set watch kontinue(10)
 dbx> set watch vi_save(8)
 dbx> set watch vi_save(10)
 dbx> run until one of the above changes.
 dbx> look at code.
 dbx> run until one of the above changes again.


 Thanks,
 Gaylon Stockman
 256.876.8154



 ########################################################################
 # #
 # Gaylon Stockman stockman_at_rdbewss.redstone.army.mil #
 # Senior Manager #
 # Quality Research, Inc Tel. (256)876-8154 Desk #
 # 4901 D Corporate Drive Tel. (256)876-8641 Computer Rm. #
 # Huntsville, AL 35806 FAX (256)876-5239 #
 # #
 # Home of BEWSS - Battlefield Environment Weapon Systems Simulation #
 # #
 # "The needs of the many out weigh the needs of the few" ...Spock #
 ########################################################################
Received on Mon Feb 14 2000 - 19:39:35 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT