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 258488 - IDE launches random debugger when user debugs JNI project
Summary: IDE launches random debugger when user debugs JNI project
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Mixed Development (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-22 14:46 UTC by Alexander Simon
Modified: 2016-04-20 16:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2016-03-22 14:46:43 UTC
Scenario:
- Launch IDE
- Install Java plug-in
- Create Java and JNI projects
- Launch and stop JPDA (Java) debugger before JNI call
- Push Step Into
==> IDE launches native debugger and attaches current process.
IDE use random gebugger (In studio there is no way to start dbx or gdb).

Possible ways to fix bug:
- Use current debugger from project
- or Use debugger from current toolchain
- or Ask user to select debugger type
Comment 1 Alexander Simon 2016-03-22 15:39:29 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/cda9d4ab53b5
increment spec versions:
http://hg.netbeans.org/cnd-main/rev/6c5fb67137af
Comment 2 Quality Engineering 2016-03-23 02:42:11 UTC
Integrated into 'main-silver', will be available in build *201603230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/cda9d4ab53b5
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #258488 IDE launches random debugger when user debugs JNI project
Comment 3 Alexander Simon 2016-03-23 08:05:56 UTC
New behavior:
IDE try to find function in opened projects.
If project is opened, IDE uses debugger from project active configuration and uses configuration debugging settings.
If function is not found, IDE uses debugger from default tool collection.
Comment 4 Vladimir Kvashin 2016-04-15 16:59:49 UTC
verified in builds on enum server
Comment 5 Alexander Pepin 2016-04-20 15:53:54 UTC
QA have no chance to verify the bug so far.
Comment 6 Vladimir Voskresensky 2016-04-20 16:48:04 UTC
It can be verified in daily studio IDE built on top of release81 candidate