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.
Created attachment 156935 [details] gdb log I have a very simple java program with JNI: (native part is trivial, just generated it and added "return 123";) public class JavaApplication3 { private native int caclculate(); public static void main(String[] args) { System.loadLibrary("CppJNILibrary_3"); int res = new JavaApplication3().caclculate(); // step into System.out.println("res = " + res); } } When I step into JavaApplication3().caclculate(), debugging view shows 27 threads - which is correct (at least "info threads" gives me the same amount). But when I expand each thread, it shows the same stack: Java_javaapplication3_JavaApplication3_caclculate (env=0x7fa5d0013000, object=0x8) ?? () ?? () ?? () ?? () ?? () ?? () ?? () ?? ()
When I make other thread current (via gdb command in console or via "threads" window), then this new thread stack is shown in all threads
The same happens in the version built on release81 from enum.
*** This bug has been marked as a duplicate of bug 255990 ***