bug-gnu-emacs
[Top][All Lists]
Advanced

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

GUD: Support for package-directive within Java/JDB (2nd)


From: Nicolai Stange
Subject: GUD: Support for package-directive within Java/JDB (2nd)
Date: Sat, 7 Oct 2006 15:37:06 +0200
User-agent: KMail/1.9.4

Another point is, that I neither can set the breakpoints in my source buffers 
directly nor do I see the arrow of current execution position.

----------  Weitergeleitete Nachricht  ----------

Subject: GUD: Support for package-directive within Java/JDB
Date: Samstag 07 Oktober 2006 15:31
From: Nicolai Stange <address@hidden>
To: address@hidden

Hello,
I just notified when I've attached my GUD/JDB to a running Java instance,
 that the debugger doesn't know about the sources although they're into an
 Emacs buffer.
In fact GUD seems to issue an `use PATH_WHERE_JAVA_FILE_IS' instead of a
`use PATH_WHERE_PACKAGE_DIRECTORY_STRUCTURE_IS'.

Example:
Source
 /home/nic/projectdir/org/openoffice/nicolai_stange/calc/linreg/LinReg.java
 starts with a
`package org.openoffice.nicolai_stange.calc.linreg;'

Now instead of issuing a
`use home/nic/projectdir'
to JDB, a
`use /home/nic/projectdir/org/openoffice/nicolai_stange/calc/linreg'
is sent to it when typing `M-x jdb' in the LinReg.java-buffer.

That's really annoying because everytime I want to start a debug session
 (very often ;), I have to setup the correct path manually within the
 GUD-buffer.

Could this be changed?
I can't, because my ELISP is just good enough for writing my .emacs-file...

Thank you!


Nicolai Stange

-------------------------------------------------------

Attachment: pgpVEUuJaX3PN.pgp
Description: PGP signature


reply via email to

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