New to QuantConnect: Debugging Now Live in the Algo Lab

We’re excited to announce that debugging is officially live in the Algo Lab. This new tool allows you to place breakpoints in your code, step through, and inspect variable values at different execution stages throughout your algorithm. The tool is accessible from the right side of the terminal in any open project.

To help you get familiar with the debugger, we’ve outlined four simple steps below:

  1. First, open the debugging tab and set breakpoints by clicking on the desired line number, which should become highlighted in grey.
  2. Next, you will see a “Watch” list. Enter the names of the variables you want to track here.
  3. Then, click “Backtest” and a new backtest with the heading [Debugging] will appear.
  4. Back in the terminal view, you can either click the play button to continue to the next breakpoint or the arrow for line-by-line execution. Click the stop button to exit the debug session.

Debugging for backtesting is provided free to all community users. We’re thrilled to offer this as the newest addition to our platform and look forward to continue providing additional tools in the future to improve your development experience. As always — happy coding!


By: Jared Broad

Founder & CEO

img Back to Blog

Related Articles

algorithmic trading

New Machine Learning Package: MlFinLab

By: Jared Broad • 17.10.2022 algorithmic trading

Living Our Mission 🚀

By: Jared Broad • 20.09.2022 crowdfunding

Own a Part of QuantConnect

By: Jared Broad • 08.09.2022 algorithmic trading

Docs V2 Released

By: Jared Broad • 13.07.2022

New Low-Latency FIX Integration to Atreyu

By: Carey • 26.10.2021