unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolai Stange <nic-stange@t-online.de>
Subject: GUD: Support for package-directive within Java/JDB
Date: Sat, 7 Oct 2006 15:31:21 +0200	[thread overview]
Message-ID: <200610071531.29611.nic-stange@t-online.de> (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

                 reply	other threads:[~2006-10-07 13:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200610071531.29611.nic-stange@t-online.de \
    --to=nic-stange@t-online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).