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 81209 - *Gdb-lite* Enable debugging feature
Summary: *Gdb-lite* Enable debugging feature
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nikolay Molchanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-26 20:24 UTC by Nikolay Molchanov
Modified: 2007-09-06 18:05 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 Nikolay Molchanov 2006-07-26 20:24:05 UTC
By default CND build disbales debugging feature, so only few developers know
how to enable it. Now it's time to enable it by defalut (i-team decision).
Comment 1 Nikolay Molchanov 2006-07-26 21:01:41 UTC
The code, that enables debugging feature is in file GdbDebuggerModule.java:

public class GdbDebuggerModule extends ModuleInstall {
    
    private CustomizerNode debugCustomizerNode;
    private static boolean enabled = Boolean.getBoolean("gdb.module.enabled");
    
The suggested fix is to make it enabled by default, but to provide an option
to disable it:

    private static boolean enabled = !Boolean.getBoolean("gdb.module.disabled");

Comment 2 _ gordonp 2006-07-31 19:35:33 UTC
The debugger is now fully enabled by default. To disable it you should
disable the module. I've removed the code which lets you disable via a
property.