public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Adam Megacz <gcj@lists.megacz.com>
To: java@gcc.gnu.org
Subject: Re: apologies, 3.1, mingw wishlist [okay to add new ctor to ConcreteProcess?]
Date: Thu, 11 Apr 2002 12:52:00 -0000	[thread overview]
Message-ID: <86g0225dgt.fsf_-_@megacz.com> (raw)
In-Reply-To: Adam King's message of "Thu, 11 Apr 2002 13:36:28 -0400"


Adam King <aking@dreammechanics.com> writes:
> add it, I'll have to in a couple of weeks.  Also, if you want to
> add in Runtime.exec( String[], String[], File ) (added in 1.3 I think )
> that would be great.

Sure, if it's okay with everybody else, I'll create another
constructor on ConcreteProcess that takes a current-working-directory
argument.



> > And, if I have time:
> >     - Stack traces

> This would be _very_ useful - while getting our code to compile, an 
> exception would be thrown but I didn't know from where.  I'd end up
> having to stick a bunch of printlns throughout the code to track
> down its cause.

Yeah, looking back (and with the help of others on the list who showed
me how easy it can be), I spent more time putting in printf()'s for
XWT than it would have taken to just write the stack trace code and be
done with it.


> > Is there anything else that I should consider? 

> Is there any way that GDB would/could be used for debugging?  

Hrm, I already use cygwin's GDB. It's not the best -- if your code
CALL's a NULL address you lose the stack, and the GUI is a bit lacking
-- but it's better than nothing.

 - a


-- 
The web is dead; long live the Internet.
http://www.xwt.org/

  reply	other threads:[~2002-04-11 17:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-09 15:29 apologies, 3.1, mingw wishlist Adam Megacz
2002-04-09 15:36 ` Tom Tromey
2002-04-09 17:50   ` Brian Jones
2002-04-11 10:57 ` Adam King
2002-04-11 12:52   ` Adam Megacz [this message]
2002-04-11 15:20     ` apologies, 3.1, mingw wishlist [okay to add new ctor to ConcreteProcess?] Tom Tromey
2002-04-11 15:53       ` Java debugger Adam King
2002-04-11 17:28         ` Nic Ferrier
2002-04-11 17:36         ` Bryce McKinlay
2002-04-11 23:13       ` apologies, 3.1, mingw wishlist [okay to add new ctor to ConcreteProcess?] Adam Megacz

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

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

  git send-email \
    --in-reply-to=86g0225dgt.fsf_-_@megacz.com \
    --to=gcj@lists.megacz.com \
    --cc=java@gcc.gnu.org \
    /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.
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).