This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: need help getting stacktraces


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]