[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[pde-dev] Problem in extending extending CDT Debug - drop down boxes (command set and protocol) are not getting populated rightly
|
Hi,
I have extended CDT debug framework to understand the custom debug environment
by extending following extensions,
- org.eclipse.debug.core.launchConfigurationTypes
- org.eclipse.debug.core.launchDelegates
- org.eclipse.debug.ui.launchConfigurationTabGroups
- org.eclipse.cdt.debug.mi.core.commandFactories
I could get basic debugging working but when tried automating values like
options under Debugger tab such as, Debugger, GDB debugger, GDB command
line,connection details etc.
But could not get working GDB command set and protocol under Debug tab, main
subtab.
I've a class extending AbstractCDebuggerTab and implemented setDefaults and
initializeFrom methods but while debugging found that debuggerID is how not
getting picked and returning null. StandardGDBDebuggerPage is failing to find
debugger ID.
Is there any way by which i can set debugger ID. Tried setDefaults
config.setAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ID,
"org.eclipse.cdt.debug.mi.core.GDBServerCDebugger"/*defaultDebugger*/);
config.setAttribute(IMILaunchConfigurationConstants.ATTR_DEBUG_NAME,
"org.eclipse.cdt.debug.mi.core.CDebuggerNew");
but seems thats not reflecting.
Please provide if there is any other way to set debugger ID.
Thanks in advance,
Vrushali.