all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GUD: Support for package-directive within Java/JDB
@ 2006-10-07 13:31 Nicolai Stange
  0 siblings, 0 replies; only message in thread
From: Nicolai Stange @ 2006-10-07 13:31 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 966 bytes --]

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 #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-07 13:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-07 13:31 GUD: Support for package-directive within Java/JDB Nicolai Stange

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.