User forums > Using Code::Blocks
Removing cb_console_runner?
micael_carvalho:
Is there any way to not run my code by cb_console_runner?
It is taking a huge time to run anything... cb console opens and i have to wait for 20 seconds or more just to see a single "printf".
If I can't remove it, how can i fix this "lag"? I know that i still have the choice to replace cb_console_runner.exe for some application of mine that do its job...
Well, any help will be welcome.
MortenMacFly:
--- Quote from: micael_carvalho on May 10, 2010, 02:04:47 pm ---Well, any help will be welcome.
--- End quote ---
What about compiling the cb_console_runner yourself, debug through it and tell what's actually causing the delay? Alternatively you can modify the app yourself so that it works. It's a very small application in the end (100 LOC's or so...). Look in "src\tools\ConsoleRunner".
Notice that you are the first and only person reporting this issue. So most likely it's not a fault of the console runner.
micael_carvalho:
--- Quote from: MortenMacFly on May 10, 2010, 02:15:03 pm ---
--- Quote from: micael_carvalho on May 10, 2010, 02:04:47 pm ---Well, any help will be welcome.
--- End quote ---
What about compiling the cb_console_runner yourself, debug through it and tell what's actually causing the delay? Alternatively you can modify the app yourself so that it works. It's a very small application in the end (100 LOC's or so...). Look in "src\tools\ConsoleRunner".
Notice that you are the first and only person reporting this issue. So most likely it's not a fault of the console runner.
--- End quote ---
I compiled it again, the problem remains...
Small programs usualy run fast, but some times they also get late to run. The code i am running have 419 lines (including \n's), i dont think it would take so much time to compile and run :/
Step by Step:
- I press F9.
Messages of compiling are showed in the Build log.
cb_console_runner opens (clean).
If i press any key it will not work now.
Some time waiting...
Software start running (first printf works) and then everything goes normal.
Note: If i run the program on its folder it runs with no delay.
micael_carvalho:
Hello?
Note: I am using Windows XP SP3
MortenMacFly:
--- Quote from: micael_carvalho on May 11, 2010, 05:52:37 am ---I compiled it again, the problem remains...
--- End quote ---
Look, please read my post more carefully: You shall not compile your program, but cb_console_runner yourself. Adopting it to your needs or (even better:) find out what causes the hang for you can be done very easily this way.
Again: The sources for cb_console_runner are in SVN. One simple CPP file, that's it.
Navigation
[0] Message Index
[#] Next page
Go to full version