User forums > Embedded development

Set remote debug option with Wizard script [SOLVED]

<< < (3/7) > >>

firew4lker:
I have the same Issue.

@ZdenoQC. Did you fill a bug report?

tomjnx:
Something like this?

You could then add something to "debugger/scriptadd/x", which would then be converted to "debugger/x" on first save (or load)

Yes it's a hack, but minimally intrusive, and the whole AddToExtension interface seems a bit q&d to me...

firew4lker:
I will give it a try.

ZdenoQC:
Wow I thought it would never work! Thanks a lot tomjnx for this patch!

Jungle:
I apologize for reviving this topic, but I'm unable to set debugger options in the wizard.script. I've tried the following

--- Code: ---project.AddToExtensions(_T("debugger/scriptadd/remote_debugging"));
project.AddToExtensions(_T("+debugger/scriptadd/remote_debugging:target=Debug"));
project.AddToExtensions(_T("+debugger/scriptadd/remote_debugging/options:conn_type=0"));
project.AddToExtensions(_T("+debugger/scriptadd/remote_debugging/options:serial_baud=115200"));
project.AddToExtensions(_T("+debugger/scriptadd/remote_debugging/options:ip_address=127.0.0.1"));
project.AddToExtensions(_T("+debugger/scriptadd/remote_debugging/options:ip_port=3333"));
--- End code ---
and it doesn't work. I've also tried without "+" and without "scriptadd". No success.

C::B version is 16.01.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version