News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

suggestion: add --personality="XX" to cmd line for cb source/plugin projects

Started by dmoore, June 04, 2007, 09:39:21 PM

Previous topic - Next topic

dmoore

I can't believe that I only just discovered the personality feature - I'm very impressed.

anyway, I was thinking it would be nice for all new and existing cb sources and plugins to have a --personality=cbdebug (or cbplugin) argument included in the command line executable, so that cb run/debug sessions have their own configuration. without this argument, environment settings have to be set up every time I start a debug session (attempts to save settings while the main CB instance is running fails). one problem: the spawned cb session crashed first time i tried this - I had to create the personality first.

any thoughts?

Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

MortenMacFly

Quote from: dmoore on June 04, 2007, 09:39:21 PM
one problem: the spawned cb session crashed first time i tried this - I had to create the personality first.
Can't reproduce. It always worked for me so far and I did that quite often recently. :( Any trace-back?!
BTW: You only need to modify the program argument of the C::B project within a workspace that contains of C::B and all your plugins if you develop that way.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]