Unable to debug java code but able to debug c++
How can I debug java code from java applications using sun studio 11? I am able to debug c++ code which is native call from java from the same application.
To add, I cannot put breakpoints to the java code it gives "cannot find object file corresponding to ".."whereas sun studio allows me to put the breakpoints in the c++ code.
I run the application with gmake client and then attach the process in the sun studio.
I have tried lot of options like pathmap, loadobject,... none of them work.
Now if I load just the .class file without attaching the proces I am able to put breakpoints in java code but not when I attach the complete application with is a mix of java and c++. I need to this. Please help?

