need help getting stacktraces

Ranjit Mathew rmathew@gmail.com
Mon Apr 17 07:04:00 GMT 2006


-----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-----



More information about the Java mailing list