On the 0x22E day of Apache Harmony Geir Magnusson, Jr. wrote: > Just for the record, this isn't a magical solution to all problems > GDB. I still have my problems not being able debug inside of shared > library code (after loading) - I've tried this with a custom launcher.
We had some tips earlier in the list that might help. Did you try them? I will iclude those extra tips to the page if they help someone. > I'll hopefully find a moment to post my code and see if anyone else > can reproduce my problem. I cannot wait to see your problem :) > Egor Pasko wrote: > > On the 0x22D day of Apache Harmony Xiao-Feng Li wrote: > >> Hi, with revision 479181, I can build it but cannot successfully run > >> it. It cann't even run HelloWorld in my Fedora Core 4, and always > >> throws "An unhandled error (4) has occurred." > >> > >> The debugging with gdb prints "Cannot find user-level thread for LWP > >> 6058: generic error", so I couldn't do any debugging to identify the > >> problem. (I built classlib in o0 with -g option). > >> > >> Anybody met the same problem? Thanks. > > to use GDB you will have to set the LD_LIBRARY_PATH on Linux as > > described in: > > http://wiki.apache.org/harmony/Debugging%20DRLVM%20with%20GDB%20on%20Linux > > > -- Egor Pasko
