User forums > Nightly builds

The 24 April 2022 build (12802) is out.

<< < (4/6) > >>

Khram:
Very strong braking when executing a program in the CodeBlocks shell environment. In this case, there is a strong influence on the timers for organizing real-time calculations. Perhaps the latter circumstance leads to damage to large arrays inside the executable program, too.

Please, tell me, is it possible to disable the influence of CodeBlocks on the debug execution time of the program inside it?

Весьма сильное торможение при исполнении программы в среде оболочки CodeBlocks. При это происходит сильное влияние на таймеры для организации вычислений в реальном времени. Возможно последнее обстоятельство приводит к порче больших массивов внутри исполняемой программы, тоже.

Пожалуйста, подскажите, можно ли отключать влияние CodeBlocks на время отладочного исполнения программы внутри него?

BlueHazzard:
Codeblocks has only influence on the debugee when you set a breakpoint or when you have many watches, memory windows open.
Less watches, less data to transfer, less impact... Also codeblocks adds only overhead if your program actually stops on a breakpoint. If your program runs, codeblocks does not add any overhead.

The rest of overhead you are experiencing comes from gdb.
GDB on windows is really slow, see this: https://stackoverflow.com/questions/27380443/why-is-gdb-so-slow-in-windows
So linux user have a better experience here. On linux the overhead should be fairly small, expect you are using some conditional breakpoints...

What operating system are you using?

Khram:
Thank you, sincerely. Yes, always have many open windows in CodeBlocks. Need to debug programs in full speed optimization mode. Errors in the computational experiment appear after a very long time of observation of the results.

Unfortunately, CodeBlocks executes programs much more slowly than if it were to run outside of this shell. For real-time execution, this is essential.

Thank you again, so be it.

Благодарю, искренне. У меня всегда много открытых окон в CodeBlocks. Мне приходится  отлаживать программы в режиме полной оптимизации по скорости выполнения. Погрешности в вычислительном эксперименте проявляются после весьма длительного времени наблюдения результатов.

К сожалению CodeBlocks исполняет программы значительно медленнее, чем если бы работать вне этой оболочки. Для исполнения в реальном времени это существенно.

Благодарю, еще раз, пусть так и будет.

stahta01:

--- Quote from: Khram on May 04, 2022, 06:10:23 pm ---Thank you, sincerely. Yes, always have many open windows in CodeBlocks. Need to debug programs in full speed optimization mode. Errors in the computational experiment appear after a very long time of observation of the results.

Unfortunately, CodeBlocks executes programs much more slowly than if it were to run outside of this shell. For real-time execution, this is essential.

Thank you again, so be it.

--- End quote ---

And, what is the the operating system you are using?

If you fail to answer the only reasons are you do not understand the question or you are a help vampire!

Tim S.

BlueHazzard:

--- Quote ---Yes, always have many open windows in CodeBlocks
--- End quote ---
Normal windows (like code editors) do not influence the debugger performance. Only windows from the menu Debug->debugging windows influence the performance.

But as I said... The thing that makes your application slow is gdb, and that probably because you are using windows... Nothing to do with codeblocks....

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version