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 262196 - Debugger tries to pass project directory as a symbol file
Summary: Debugger tries to pass project directory as a symbol file
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: henk89
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-23 21:18 UTC by Vladimir Kvashin
Modified: 2016-06-01 16:46 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 Vladimir Kvashin 2016-05-23 21:18:14 UTC
I have a makefile based project that has "build result" field not set.
I ran this binary in terminal.
Then tried to attach to it; when attaching I selected the project binary belonged to.

When Ilia tried this today evening, he's got "wrong argument" (or "incorrect argument") dialog. When I did this, no dialog appeared, but the debugger did not work properly.

The gdb log showed that the IDE tried to pass the project directory as a path to symbol file:

10-file-symbol-file  "/home/vk/testcode/misc/dlight.remote.impl/tools/fs_server"
...
10^error,msg="/home/vk/testcode/misc/dlight.remote.impl/tools/fs_server: Inappropriate ioctl for device."
Comment 1 Vladimir Kvashin 2016-05-23 21:19:38 UTC
If I select "no project" when attaching, I see no such effect.
Comment 2 henk89 2016-06-01 16:46:47 UTC
Fixed in:
http://hg.netbeans.org/cnd-main/rev/3318e8b0470f