Skip to content

Commit 2e369a4

Browse files
author
www-data
committed
Automated push from server made by Alexandre Catarino
1 parent 8b8f5e6 commit 2e369a4

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
<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><ul style="list-style-type:disc;">
8-
<li>Detach Lean by clicking on Debug -&gt; Detach All</li>
9-
<li>Reattach Lean by clicking on Debug -&gt; 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

Comments
 (0)