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 268802

Summary: IDE hangs while debugging mixed projects
Product: cnd Reporter: Alexander Pepin <apepin>
Component: Mixed DevelopmentAssignee: Maria Tishkova <mromashova>
Status: NEW ---    
Severity: normal CC: soldatov
Priority: P2    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: jstack thread dump
IDE log
Java project
Cpp library project

Description Alexander Pepin 2016-11-03 13:17:46 UTC
It was caught in tests. IDE hangs in mixed debugging when a user tries to finish debug session via Sessions table. See attached jstack dump and IDE log.
Comment 1 Alexander Pepin 2016-11-03 13:18:39 UTC
Created attachment 162745 [details]
jstack thread dump
Comment 2 Alexander Pepin 2016-11-03 13:19:07 UTC
Created attachment 162746 [details]
IDE log
Comment 3 Alexander Pepin 2016-11-03 13:19:56 UTC
Escalated to P2 as it breaks tests.
Comment 4 petrk 2016-11-09 11:29:50 UTC
Created attachment 162845 [details]
Java project
Comment 5 petrk 2016-11-09 11:30:22 UTC
Created attachment 162846 [details]
Cpp library project
Comment 6 petrk 2016-11-09 11:30:34 UTC
How to reproduce:
1) Download attached projects
2) Place breakpoint at line 21 in file JavaApplication1.java
3) Debug JavaApplication1
4) Step into native function
5) Go to sessions view and click "make current" on native session
IDE hangs (maybe after a couple of seconds)
Comment 7 Vladimir Voskresensky 2016-11-29 18:40:45 UTC
Masha, please, have a look if it debugger related one
Comment 8 Maria Tishkova 2016-11-30 13:12:51 UTC
*** Bug 267888 has been marked as a duplicate of this bug. ***