Ladebug and exception handlers?

From: Arno Hahma <arno_at_azido.pp.utu.fi>
Date: Mon, 30 Oct 2000 12:08:21 +0200

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
Received on Mon Oct 30 2000 - 10:09:19 NZDT

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