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 - Problems with JNI debugging
Summary: Problems with JNI debugging
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: henk89
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-23 04:53 UTC by Vladimir Voskresensky
Modified: 2015-07-13 16:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (150.00 KB, application/x-tar)
2015-06-23 04:54 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
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