Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: cbexaminr on September 30, 2010, 06:25:44 am

Title: robustness ?A, debuggergdb/debuggerdriver.cpp/DebuggerDriver::RunQueue()
Post by: cbexaminr on September 30, 2010, 06:25:44 am
Is there a reason for that (subject) routine to call itself recursively, rather than simply looping on the terminating condition?

The current recursive implementation does not seem to be deterministically safe.
Title: Re: robustness ?A, debuggergdb/debuggerdriver.cpp/DebuggerDriver::RunQueue()
Post by: oBFusCATed on October 11, 2011, 04:58:46 pm
Can you explain why?
I've modified this method, so I have better understanding for it now:)