Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
// | |
// Basic instrumentation profiler by Cherno | |
// Usage: include this header file somewhere in your code (eg. precompiled header), and then use like: | |
// | |
// Instrumentor::Get().BeginSession("Session Name"); // Begin session | |
// { | |
// InstrumentationTimer timer("Profiled Scope Name"); // Place code like this in scopes you'd like to include in profiling | |
// // Code | |
// } |
Download OpenOCD.
Place the folder in ~/openocd
- so that the scripts
is directly under ~/openocd/scripts
.
Add it to your PATH via:
ln -s ~/openocd/bin/openocd /usr/local/bin/openocd
Make sure no applications are bound to port 3333.
Place launch.json
and tasks.json
in your .vscode
folder.
Note: Set the right path in debugServerArgs
.