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

Summary: Debugger tries to pass project directory as a symbol file
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: DebuggerAssignee: henk89
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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