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
In line-by-line debugging mode, the standard output is gone. Thus, the debugger does not even work on the following simplest possible code:
%%pixie_debugger
import os, sys
import torch
print("Hello world", flush=True)
for i in range(10):
j=i**2
print("This is %d : %d"%(i,j))
Expected output:
Hello world
This is 0 : 0
This is 1 : 1
This is 2 : 4
This is 3 : 9
This is 4 : 16
This is 5 : 25
This is 6 : 36
This is 7 : 49
This is 8 : 64
This is 9 : 81
Actual output (line-by-line debugging for i=0,1,2,3):
> (4)pixie_run()
-> import os, sys
> (7)pixie_run()
-> print("Hello world", flush=True)
> (9)pixie_run()
-> for i in range(10):
This is 4 : 16
This is 5 : 25
This is 6 : 36
This is 7 : 49
This is 8 : 64
This is 9 : 81
As you can see, the output for printing "Hello world" and for i=0,1,2,3 in the for-loop is gone if I use line-by-line debugging.
The text was updated successfully, but these errors were encountered:
In line-by-line debugging mode, the standard output is gone. Thus, the debugger does not even work on the following simplest possible code:
Expected output:
Actual output (line-by-line debugging for i=0,1,2,3):
As you can see, the output for printing "Hello world" and for i=0,1,2,3 in the for-loop is gone if I use line-by-line debugging.
The text was updated successfully, but these errors were encountered: