Add some debugger hooks

This commit is contained in:
Michal Moskal 2016-04-27 19:26:55 +01:00
parent b30a0ced87
commit 6c539fb04f

View File

@ -301,4 +301,18 @@ namespace pxtrt {
{ {
microbit_panic(code); microbit_panic(code);
} }
//
// Debugger
//
//%
uint32_t getNumGlobals() {
return numGlobals;
}
//%
void* getGlobalsPtr() {
return globals;
}
} }