Search found 1 match

by bennetcole
Thu Oct 24, 2019 11:30 am
Forum: Developer Discussions
Topic: Editing/compiling/debugging Python files in the Bitcraze VM
Replies: 2
Views: 2254

Re: Editing/compiling/debugging Python files in the Bitcraze VM

Python has a debugger , which is available as a module called pdb . It supports setting conditional breakpoints , stepping through the source code one line at a time, stack inspection, and more. import pdb msg = "this is a test" pdb.set_trace() print(msg) Insert pdb.set_trace() anywhere an...