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 255989 - [mixeddev] can not step in from Java into native if IDE is Studio and my .so is built with GNU or Intel
Summary: [mixeddev] can not step in from Java into native if IDE is Studio and my .so ...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-18 09:22 UTC by Vladimir Kvashin
Modified: 2016-09-02 15:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
That's not a patch, but rather a place the problem originates from. (1.37 KB, patch)
2015-10-18 09:25 UTC, Vladimir Kvashin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2015-10-18 09:22:10 UTC
The bug is in Studio. But the reason is in NetBeans, so I'm filing it here.

If my native code is built with GNU, and I'm using Studio, then I can not step from java into native.
Comment 1 Vladimir Kvashin 2015-10-18 09:25:20 UTC
Created attachment 156771 [details]
That's not a patch, but rather a place the problem originates from.

If apply this patch, it will work with gnu, but obviously won't work if your native code is built with Studio. So we need adding some heuristics here.
Comment 2 Vladimir Voskresensky 2015-10-19 09:02:19 UTC
I propose the following if IDE has more than one available Native debuggers:
- before attaching to PID show Attach dialog filtered by this PID (in read-only mode to prevent modification)
=> use can choose GDB vs Studio + select Project