Code::Blocks

User forums => Help => Topic started by: C:B_newbie on August 08, 2018, 11:07:22 am

Title: C::B needs much time to run program
Post by: C:B_newbie on August 08, 2018, 11:07:22 am
Greetings,

I have just finished a c++ simulation (~300 lines of code, the largest one I have written up until now). The compiler doesn't give errors nor warnings, everything seems fine. If I click on "Run" the CB display gives
"-------------- Run: Debug in name_of_program (compiler: GNU GCC Compiler)---------------",
nothing else for like 90s. This is the first time, that happened. Is there something wrong?

Then the display shows "Checking for existence ... lots of paths...", which seems to be normal and the program starts running.
It is still running as I speak, there might be something wrong with the code. Could this be the reason for why CB takes so long to start running the program?

Regards
Title: Re: C::B needs much time to run program
Post by: oBFusCATed on August 08, 2018, 01:53:27 pm
Is this problem reproducible? Is the system under high load?
Title: Re: C::B needs much time to run program
Post by: C:B_newbie on August 08, 2018, 02:18:55 pm
Right now, it works fine.

The system was not on heavy load. Really strange. And during the 90s, C::B sent "no response".

What does that ----debug--- line mean?
Title: Re: C::B needs much time to run program
Post by: oBFusCATed on August 08, 2018, 03:30:07 pm
This is the name of the target you're running.
Title: Re: C::B needs much time to run program
Post by: BlueHazzard on August 10, 2018, 01:47:12 pm
Do you have some anti virus running? They slow down compiling, execution a lot, because compiler are basically viruses....