Page 1 of 1

Move GDB Settings to Compiler->Tools?

Posted: Sat Dec 28, 2013 4:27 am
by Gibbon1
I'm not sure of this is a reasonable feature request.

Currently GDB setting is a global setting under Settings->GDB Settings. The problem is if you have multiple compilers installed GDB isn't necessarily compatible between them, so when you switch from an ARM, AVR, or Windows based project you need to need to change the GDB settings too, okay but annoying. Seems it would make sense to move the GDB setting (at least the path) to the Compilers->Tools setting. (This sounds like it could be ugly with the amount of changes needed).

I could add this as a feature request if it might happen someday.

Re: Move GDB Settings to Compiler->Tools?

Posted: Sat Dec 28, 2013 9:30 am
by eranif
Most of the debugger settings can be set per project in the project settings -> debugger section
Especially, the debugger executable and startup commands

Isn't it enough?

Eran

Re: Move GDB Settings to Compiler->Tools?

Posted: Sat Jan 04, 2014 10:32 pm
by petah
Hi Eran,

I've been trying to add new error/warning regexes in Build Settings -> Patterns to catch some currently undetected cases but it's hard to debug without a log. Would it be possible to log all the captures (within quotes) when CL's log level is set to Debug?

thx a lot & cheers,

-- p

Re: Move GDB Settings to Compiler->Tools?

Posted: Sun Jan 05, 2014 12:16 am
by petah
nevermind my last request; I just saw the wxRegEx logic using Match() so extracting partial matches on a global fail isn't that easy, not to mention dicy to pass through a vararg logger. I'll try to think of some other way.

thx & cheers,

-- p

Re: Move GDB Settings to Compiler->Tools?

Posted: Mon Jan 06, 2014 12:33 am
by petah
to close the thread I so rudely hijacked (sorry about that :)), there's really no need for a new CL feature to debug regexes - I just needed to know what regex syntax it uses, then I'll cut & paste undetected errors & warnings into my own test app to debug them. Should have thought about it earlier...

cheers,

-- p