Hi guys,


I need your help, I'm using the QuantConnect platform and I'm trying to run a backtest in debug mode, The backtest is running, but it doesn't stop at any given breakpoint, the backtest is just running forever without stopping (it stops after it hits the 5 minutes debug limitation). 
I've tried to insert a breakpoint to the initialize method, to the very first line and it doesn't stop either. 
When running the code, not in debug mode everything runs smoothly without any errors and finishes successfully. 

this is the error message I get after 5 minutes in debug mode:

Execution Security Error: Operation timed out - 5 minutes max. Check for recursive loops.

 

Any ideas about what can cause this or any idea about a possible solution will be greatly appreciated!
Thanks a lot! :)

Author