mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
24 lines
568 B
C
24 lines
568 B
C
#include "PikaVM.h"
|
|
#include "dataStrs.h"
|
|
|
|
void PikaDebug_Debuger___init__(PikaObj* self) {
|
|
/* global enable contral */
|
|
obj_setInt(self, "enable", 1);
|
|
}
|
|
|
|
void PikaDebug_Debuger_set_trace(PikaObj* self) {
|
|
pika_debug_set_trace(self);
|
|
}
|
|
|
|
void PikaDebug_set_trace(PikaObj* self) {
|
|
PikaDebug_Debuger_set_trace(self);
|
|
}
|
|
|
|
void PikaDebug_set_break(PikaObj* self, char* module, int pc_break) {
|
|
pika_debug_set_break(module, pc_break);
|
|
}
|
|
|
|
void PikaDebug_reset_break(PikaObj* self, char* module, int pc_break) {
|
|
pika_debug_reset_break(module, pc_break);
|
|
}
|