From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079336919394.tru64-unix-managers.marc@archive.invalid> From: Gaylon Stockman Date: Mon, 14 Feb 2000 19:35:24 +0000 To: tru64-unix-managers Subject: Basic debugging commands X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079336919394 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 # ########################################################################