Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: LETARTARE on June 01, 2023, 04:19:42 pm

Title: Restart 'CB' from 'CB' ?
Post by: LETARTARE on June 01, 2023, 04:19:42 pm
Can 'CB' be restarted by clicking on any menu item (e.g. changing the language) ?
Which function(s) should be used ?
Title: Re: Restart 'CB' from 'CB' ?
Post by: hildemireles on June 26, 2023, 06:39:27 am
Did you find any info out ?
Title: Re: Restart 'CB' from 'CB' ?
Post by: blauzahn on June 26, 2023, 09:03:02 am
I am not interested in such a function. IMHO, it is not worth the trouble.

I'd rather focus on removing things that may be a reason for a restart. E.g. programming errors in cb or its plugins: undefined behaviour corrupting state, memory leaks or logic errors. One thing that annoys me for example is the slowdown in "find in files". After using it a few times on a larger project it becomes an order of magnitude slower.

Switching the language during runtime does not occur on my priority list either.
Title: Re: Restart 'CB' from 'CB' ?
Post by: LETARTARE on June 26, 2023, 10:16:46 am
It's not a priority, but when translating 'CB' into another language, you must restart 'CB' to check the translations. So this would make the job easier.
I haven't come up with anything yet !
Title: Re: Restart 'CB' from 'CB' ?
Post by: stahta01 on June 26, 2023, 03:38:50 pm
I would suggest start CB from the command line using an separate CB profile for each Language to be tested.

Tim S.