[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

a possible bug

From: Lei Guo
Subject: a possible bug
Date: Wed, 30 Oct 2002 14:36:19 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827

Dear DDD devlopers,

I have a big problem in debugging java program with DDD. I sent email to
address@hidden but no one responds so far. I searched all the archived
emails of this mail-list, and found many people have the same problem as
me. I am not sure if it is a bug, but it may be. If it is not a bug,
please give me a reply even if you can not tell me what's the problem
and how should I do.

The problem is described as following:

when I use ddd to debug java program, I type the following command:
    ddd --jdb &
then click the menu "File|Open class", the window that ddd pops showing
nothing (see attachment). If I type
    ddd --jdb Test &
ddd pop a window showing:
    Cannot access class "Test"
and the source window is blank. But in the JDB console ( the bottom
window in ddd GUI) showing:

GNU DDD 3.3.1 (i386-redhat-linux-gnu), by Dorothea L├╝tkehaus and Andreas
Copyright (c) 1995-1999 Technische Universita"t Braunschweig, Germany.
Copyright (c) 1999-2001 Universita"t Passau, Germany.
Initializing jdb ...
> load Test

I can click menu "File|Open Source" to open the code and set break
point, and I can use the command tool buttons such as run, step, next,
etc. But when I debugging the program, there is no excution position
arrow in source code window, and the "display" button (to show data in
the data window) does not work, I have to use the "print" button.
"watch" button in the tool bar does not work either, but I can type
watch command by clicking menu "Source|Breakpoints", and then clicking
"watch" button in the popped window, and then type parameters. It is no
problem to type jdb command in the jdb console. Another words, it seems
only jdb is working, not ddd.

My OS, ddd, and java version:

OS: red hat 7.3 linux, kernel 2.4.18
ddd version: 3.3.1
java version: j2sdk 1.4.0

Thank you very much!

Lei Guo
College of William and Mary     Office: M-S Hall 101C
Department of Computer Science  Phone:  (757)221-3468(O)
P.O. Box 8795                           (757)259-9683(H)
Williamsburg, VA 23187-8795     Email:  address@hidden

GIF image

GIF image

reply via email to

[Prev in Thread] Current Thread [Next in Thread]