修复pdb对所属模块的识别

This commit is contained in:
xie-jc 2023-09-28 23:16:35 +08:00
parent 4d301bb3b5
commit 97174b88f7
4 changed files with 7 additions and 5 deletions

View File

@ -12,7 +12,7 @@
// "program": "${workspaceFolder}/build/boot/demo06-pikamain/pikascript_demo06-pikamain",
"args": [
// "--gtest_filter=vm.keyword_2"
// "--gtest_filter=vm.exit_vm"
"--gtest_filter=pikaui.page"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",

View File

@ -1,7 +1,5 @@
import PikaUI as ui
from PikaStdLib import MemChecker as mem
class MainContainer(ui.Container):
def onclick_next(self, event):
print('Page1: onclick_next')

View File

@ -2625,7 +2625,11 @@ int obj_runModule(PikaObj* self, char* module_name) {
if (NULL == bytecode) {
return 1;
}
pikaVM_runByteCode(self, bytecode);
PikaVMThread vm_thread = {.try_state = TRY_STATE_NONE,
.try_result = TRY_RESULT_NONE};
_do_pikaVM_runByteCode(self, self, self, (uint8_t*)bytecode, module_name,
&vm_thread, pika_true);
return 0;
}

View File

@ -2,4 +2,4 @@
#define PIKA_VERSION_MINOR 12
#define PIKA_VERSION_MICRO 6
#define PIKA_EDIT_TIME "2023/09/28 23:08:12"
#define PIKA_EDIT_TIME "2023/09/28 23:16:30"