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 To: bug-gnu-emacs@gnu.org 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 -------------------------------------------------------