Python Forum

Full Version: debugging help on Visual Studio Code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi snippsat,

after taking cursor back, if I insert extra print line, that line is not printing value,

Cursor is coming back.




Thanks
mg
That is because the new line is not part of your program. When you run a python program the program gets compiled into bytecodes. Typing new lines into a program during debugging does not perform the compile step. The bytecodes, the actual program you are running, are unchanged.

You can execute python commands you type (or copy/past) in the debug terminal. The debug terminal is also useful for inspecting the values of objects.
Hi deanhystad,

Thanks for the information my doubt clear now.


Thanks
mg
Pages: 1 2