From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolai Stange Newsgroups: gmane.emacs.bugs Subject: GUD: Support for package-directive within Java/JDB Date: Sat, 7 Oct 2006 15:31:21 +0200 Message-ID: <200610071531.29611.nic-stange@t-online.de> Reply-To: nic-stange@t-online.de NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0282242062==" X-Trace: sea.gmane.org 1160254364 32277 80.91.229.2 (7 Oct 2006 20:52:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Oct 2006 20:52:44 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 07 22:52:42 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GWJ9v-00012S-Dz for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Oct 2006 22:52:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWJ9u-0005TS-4w for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Oct 2006 16:52:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GWCGh-0001B5-Lt for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2006 09:31:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GWCGe-0000xQ-0V for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2006 09:31:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWCGd-0000wz-Tg for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2006 09:31:03 -0400 Original-Received: from [194.25.134.85] (helo=mailout11.sul.t-online.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GWCNk-0005hg-PT for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2006 09:38:24 -0400 Original-Received: from fwd27.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1GWCGc-0006Py-00; Sat, 07 Oct 2006 15:31:02 +0200 Original-Received: from localhost.localdomain (Eq2gWgZAZe3gntcVBiRwg4b0o4cSd2EGTX-qIk1wIGMunLQsPpkL0M@[84.144.110.133]) by fwd27.sul.t-online.de with esmtp id 1GWCGV-0dgGZc0; Sat, 7 Oct 2006 15:30:55 +0200 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 7DE8B2FEE48; Sat, 7 Oct 2006 15:31:30 +0200 (CEST) Original-To: bug-gnu-emacs@gnu.org User-Agent: KMail/1.9.4 X-ID: Eq2gWgZAZe3gntcVBiRwg4b0o4cSd2EGTX-qIk1wIGMunLQsPpkL0M X-TOI-MSGID: ecf14a81-c89a-4b93-a41d-e0ace402402b X-Mailman-Approved-At: Sat, 07 Oct 2006 16:52:27 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15353 Archived-At: --===============0282242062== Content-Type: multipart/signed; boundary="nextPart1452170.IiLCYWqfYK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1452170.IiLCYWqfYK Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I just notified when I've attached my GUD/JDB to a running Java instance, t= hat=20 the debugger doesn't know about the sources although they're into an Emacs= =20 buffer. In fact GUD seems to issue an `use PATH_WHERE_JAVA_FILE_IS' instead of a=20 `use PATH_WHERE_PACKAGE_DIRECTORY_STRUCTURE_IS'. Example: Source /home/nic/projectdir/org/openoffice/nicolai_stange/calc/linreg/LinRe= g.java=20 starts with a=20 `package org.openoffice.nicolai_stange.calc.linreg;' Now instead of issuing a=20 `use home/nic/projectdir' to JDB, a `use /home/nic/projectdir/org/openoffice/nicolai_stange/calc/linreg'=20 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 (v= ery=20 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 --nextPart1452170.IiLCYWqfYK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFJ6wxZ0HoRsB9SEMRAhaFAJ9RioH+arahiRVRekU4+hZOHrNFfwCfbjir zC5K1Mm9mbrNKkA5C4RcBm0= =KkWM -----END PGP SIGNATURE----- --nextPart1452170.IiLCYWqfYK-- --===============0282242062== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs --===============0282242062==--