Bug #18834 2012-12-14 18:12

firewalker

"AddToExtensions" doesn't work when Debugger plugin enabled.

I want to use the "AddToExtensions" to a Wizard script to set Debugging options. E.g.

project.AddToExtensions(_T("debugger/remote_debugging:target=Debug"));

project.AddToExtensions(_T("debugger/remote_debugging/options:conn_type=0"));

project.AddToExtensions(_T("debugger/remote_debugging/options:serial_baud=115200"));

project.AddToExtensions(_T("debugger/remote_debugging/options:ip_address=localhost"));

project.AddToExtensions(_T("debugger/remote_debugging/options:ip_port=3333"));

project.AddToExtensions(_T("debugger/remote_debugging/options:additional_cmds=monitor reset halt"));

The created project (xml code) doesn't contain the above options. If someone Disables the Debugger plug-in prior to the creation of the project the option are included as expected. After re-enabling the Debugger the options are present and everything works.

Extra infos: http://forums.codeblocks.org/index.php?topic=16852.0

CodeBlocks infos (SVN):

Revision: 8650

Node Kind: directory

Schedule: normal

Last Changed Author: mortenmacfly

Last Changed Rev: 8650

Last Changed Date: 2012-12-13 12:23:21 +0200 (Thu, 13 Dec 2012)

System: Arch Linux (x86)

Category
Debugger
Group
Platform:Linux
Status
Open
Close date
 
Assigned to
tpetrov
ID_59656 2013-01-10 10:39