This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 253114

Summary: Problems with JNI debugging
Product: cnd Reporter: Vladimir Voskresensky <vv159170>
Component: DebuggerAssignee: henk89
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: sample project

Description Vladimir Voskresensky 2015-06-23 04:53:35 UTC
Try to use 2 attached samples to initiate JNI debugging:
- set breakpoints in java and native methods
- start java debugging
- step into foo
- gdb session starts and debugger is stopped in native code
- Debugging view with threads is visible, 
but Variables view doesn't have qqqqq variable. 
If you try hover mouse to see qqqqq's value in tooltip, then you'll see the error
Comment 1 Vladimir Voskresensky 2015-06-23 04:54:25 UTC
Created attachment 154333 [details]
sample project

You might need to adjust paths in Java app to correctly load native library from library path
Comment 2 henk89 2015-07-08 10:08:17 UTC
Fixed in:
http://hg.netbeans.org/cnd-main/rev/95cfb24c1ad4
Comment 3 henk89 2015-07-08 15:27:52 UTC
Fixed in:
http://hg.netbeans.org/cnd-main/rev/a4dcfe367d07
Comment 4 Quality Engineering 2015-07-09 01:15:56 UTC
Integrated into 'main-silver', will be available in build *201507090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/95cfb24c1ad4
User: Nikolay Koldunov <henk89@netbeans.org>
Log: Fixed #253114 - Problems with JNI debugging