From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97290053429441.tru64-unix-managers.marc@archive.invalid> From: Arno Hahma Date: Mon, 30 Oct 2000 10:08:21 +0000 To: tru64-unix-managers Subject: Ladebug and exception handlers? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97290053429441 Dear managers, I ran into a problem, while trying to debug a C language program, that implements exception handling, i.e. is using the try { ...} except (..) { ... } structure. The system is running Tru64 V5.0a, Compaq C (latest), ladebug 4.62 (also latest). Problem: when such a program is loaded into Ladebug and run, Ladebug gets totally confused about the execution flow, when you enter the "try" -block. It just doesn't exit the procedures run inside the try-block, no matter which button you press or which command you give (except "quit", of course). Are there any ways of actually debugging such programs with some debugger or some settings/switches etc for ladebug to do so? GNU debug (gdb) didn't understand it either and its graphical interface (ddd) went to lunch even from starting the program. Not being able to run such programs inside a debugger makes it very hard to check they are running correctly - especially, when the execution flow can be quite unusual. Another question regarding Ladebug: where has the variable monitor gone? In dxladebug, there was a window, that could be used to monitor the state of local and even global variables during program execution. Now, you can just look at one variable at time with the cut-and-paste window and pressing "do" -button. I haven't figured out a way how to watch several variables with the newer versions of ladebug. ArNO 2