tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Gaylon Stockman <stockman () rdbewss ! redstone ! army ! mil>
To: tru64-unix-managers
Subject: Basic debugging commands
Date: Mon, 14 Feb 2000 19:35:24 +0000	[thread overview]
Message-ID: <96079336919394.tru64-unix-managers.marc@archive.invalid> (raw)


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@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	#
 ########################################################################

                 reply	other threads:[~2000-02-14 19:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox