You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Unfortunately, this debugging scenario entails some limitations.</p>
2
-
<p>
3
-
It is not possible to concurrently debug the python algorithm and Lean (C# code). That means that the debugger will not stop at breakpoints in Lean nor we can step into methods defined in Lean (e.g., SetHoldings).
4
-
</p>
5
-
<p>
6
-
Debugging the same method is not smooth since we need to detach and reattach the process every time we leave the method we are debugging.
7
-
</p><ulstyle="list-style-type:disc;">
8
-
<li>Detach Lean by clicking on Debug -> Detach All</li>
9
-
<li>Reattach Lean by clicking on Debug -> Reattach to Process</li>
10
-
</ul>
11
-
<p></p>
2
+
<p>It is not possible to concurrently debug the python algorithm and Lean (C# code). That means that the debugger will not stop at breakpoints in Lean nor we can step into methods defined in Lean (e.g., SetHoldings).</p>
3
+
<p>The algorithm will always stop after <mark>ptvsd.break_into_debugger()</mark> call and it not possible to untoggled it. However, we can use conditional statements to prevent its call and avoid unnecessary breaks.</p>
0 commit comments