Author Topic: suggestion: add --personality="XX" to cmd line for cb source/plugin projects  (Read 3225 times)

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
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?


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ