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 256244 - Debugger shows only disassembly windows, not C++ source
Summary: Debugger shows only disassembly windows, not C++ source
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-28 23:22 UTC by john_ousterhout
Modified: 2016-09-01 07:58 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 john_ousterhout 2015-10-28 23:22:59 UTC
I'm having a problem with NetBeans 8.0.2: when I use remote debugging for C/C++ and the program stops at a breakpoint, NetBeans displays the current location only in disassembly windows, rather than showing me the C++ source line.  Here are some more details:

* I'm running NetBeans on a Windows 7 PC, and the remote machine is a Linux server.

* The debugger works fine if I specify SFTP or "Automatic file copying" for project file access; the problem only happens if I specify "System level file sharing". (however, those other modes have performance issues for me,
so I'd rather not use them)

* I have checked my path maps, and I'm pretty sure they are correct.

* NetBeans *is* able to display variables correctly, and if I open the debugger console, I can use commands like "where" and "list" to view source. So, Gdb is finding the source files, but apparently this information isn't getting back to the IDE.

* Other people in our group have been able to get this to work on both Macintoshes and PCs, and I've tried copying their configurations, but it still doesn't work for me.

* I tried looking in the IDE log file for errors that might explain the problem, but didn't see anything there that looked helpful.

Any suggestions for how I might be able to fix this problem or gather more information?

Thanks in advance for any help you can provide; NetBeans has been a great development tool for us.

-John-
Comment 1 Jiri Kovalsky 2015-10-29 06:48:21 UTC
Reassigned for further investigation.
Comment 2 soldatov 2016-08-01 17:11:15 UTC
(In reply to john_ousterhout from comment #0)
> * I tried looking in the IDE log file for errors that might explain the
> problem, but didn't see anything there that looked helpful.
GDB log is needed: http://wiki.netbeans.org/GdbLog
Comment 3 john_ousterhout 2016-08-09 18:33:32 UTC
Unfortunately I've switched to SFTP mode, where the problem doesn't occur, and it would be difficult for me to switch back to "System level file sharing" again. Sorry about that; it's fine by me if you'd like to close the issue.
Comment 4 Maria Tishkova 2016-09-01 07:58:14 UTC
as user didn't provide Gdb log and the problem is gone with switch to SFTP mode I will close it (the user agreed to close it)