Hello,
here is a patch that improves the performance of the debugger massively.
The patch:
http://smrt.is-a-geek.org/codeblocks/dbg_refactor/dbg_speedup.patchIt is against the debugger branch, but should apply in trunk (I've tested it and it worked against r5853)
How to test:
1. open some project
2. start debugging
3. stop on a breakpoint
4. open as many dbg windows as possible (call stack, threads, watches)
5. add many watches, complex variables are better (vectors will be great)
6. single step, through the code and see how the debugger toolbar is disable while the debugger is processing things
Execute the test before and after you've applied the patch.
What the patch does:
It adds a flag to the PipeProcess class, that controls if we will get notifications for every line of output or a single notification with the whole output.
The default value is set to notification for every line (the old behaviour).
With the patch only the debugger will use the new behaviour.
It seems that event passing is not so cheap in wx after all.
Have fun, feadback is quite welcome
p.s. I'm using the patch for some days now and I've not seen any problems only benefits