This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: need help getting stacktraces
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: ken at hausam dot com
- Cc: GCJ <java at gcc dot gnu dot org>
- Date: Mon, 17 Apr 2006 12:33:47 +0530
- Subject: Re: need help getting stacktraces
- Openpgp: url=http://rmathew.com/aa_6C114B8F.txt
- References: <20060412221453.25766.qmail@web54311.mail.yahoo.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ken Hausam wrote:
> Brand new to gcj. Using gcj 3.4.4 in a cygwin bash shell environment on
> win32. Was able to compile (to native .exe) and run some simple java
> applications that make use of java.nio. However, all of my exceptions are
> coming up with the dreaded "No stacktrace available>>". Is there a simple
> way to get stacktraces to show up? A command line switch or something of
Did you strip out the debugging information? You should
compile your programmes with the "-g" option. Also check
that "addr2line" and "c++filt" and accessible from your
PATH when you run your GCJ-compiled programmes.
HTH,
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://rmathew.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEQz3TYb1hx2wRS48RAp+kAJ0Q/ASbq9NCVfbIWjLCVBNPXrJltACgifay
oaySDhFbRGlewvsQpUa+1ro=
=2R7z
-----END PGP SIGNATURE-----