summaryrefslogtreecommitdiffstatshomepage
path: root/examples/usercmodule/cppexample/example.cpp
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-03-17 10:22:03 +1100
committerDamien George <damien@micropython.org>2021-03-17 12:13:53 +1100
commit42cf77f48bcb24b0515b4ce604736f10267d87bd (patch)
tree9d2ae3ae4f198f23155abbdb849997a69026349c /examples/usercmodule/cppexample/example.cpp
parent6e5aea08a9916c5acc6893e4829bba25fbab32ba (diff)
downloadmicropython-42cf77f48bcb24b0515b4ce604736f10267d87bd.tar.gz
micropython-42cf77f48bcb24b0515b4ce604736f10267d87bd.zip
py/vm: For tracing use mp_printf, and print state when thread enabled.
mp_printf should be used to print the prefix because it's also used in mp_bytecode_print2 (otherwise, depending on the system, different output streams may be used). Also print the current thread state when threading is enabled to easily see which thread executes what opcode. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'examples/usercmodule/cppexample/example.cpp')
0 files changed, 0 insertions, 0 deletions