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 237460 - Debugger not working
Summary: Debugger not working
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: henk89
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-22 08:14 UTC by Muska17
Modified: 2013-11-11 14:53 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 Muska17 2013-10-22 08:14:44 UTC
Hello,

I know this issue has been posted several times but none of the solutions suggested will work in my case (C++ on netbeans 7.4).

I'm using ubuntu 12.04 and 

I tried to add 

-J-Dgdb.breakpoints.shortpaths=true

in the netbeans.conf file, in the default options line, but it does not work.

My problem is that breakpoints are ignored. (When i launch the debug mode, the pink squares disappear).

Thanks for your help.

Yours sincerely,

Mathias B.
Comment 1 Muska17 2013-10-22 08:18:14 UTC
I forgot to say that i'm using openjdk-7 u25 and gdb 7.4-2012.04.
Comment 2 soldatov 2013-10-22 08:53:44 UTC
(In reply to Muska17 from comment #0)
> but none of the solutions suggested will work in my case (C++ on netbeans 7.4).
What is you case?
Also gdb log should be attached (http://wiki.netbeans.org/GdbLog)
Comment 3 Muska17 2013-10-22 09:10:25 UTC
I'm afraid to say that there is no gdb log generated.

I didn't understand your question, could you please explain ?
Comment 4 soldatov 2013-10-22 10:07:56 UTC
(In reply to Muska17 from comment #3)
> I didn't understand your question, could you please explain ?
Your description is too universal. I checked Ubuntu 12.04 and I don't see any big problems.
Comment 5 Muska17 2013-10-22 11:30:05 UTC
My bad. i did not mean the problem comes from ubuntu.

Yet i can't get any gdb log and breakpoints won't work. 

what information do you need ?
Comment 6 soldatov 2013-10-22 11:44:44 UTC
(In reply to Muska17 from comment #5)
> My bad. i did not mean the problem comes from ubuntu.
> 
> Yet i can't get any gdb log and breakpoints won't work. 
> 
> what information do you need ?
Can you create Welcome sample, call context menu on project and select Step into?
Comment 7 Muska17 2013-10-22 12:13:07 UTC
Indeed i can. The debugger seems to work fine on a new project.

All my apologies, i should have test this first.

The debugger doesn't work on my current project and this is weird since it used to work, i don't have a clue about what changed since.
Comment 8 Egor Ushakov 2013-11-08 13:53:09 UTC
please use oracle jdk
Comment 9 henk89 2013-11-11 14:53:56 UTC
Could you send a gdblog (http://wiki.netbeans.org/GdbLog)?