mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
add cmd no found info
This commit is contained in:
parent
6ab496bed0
commit
e430e21d98
@ -24,7 +24,9 @@ static enum shell_state __obj_shellLineHandler_debuger(PikaObj* self,
|
||||
asm_buff = arg_strAppend(asm_buff, "\n0 RUN print\n");
|
||||
pikaVM_runAsm(__pikaMain, arg_getStr(asm_buff));
|
||||
arg_deinit(asm_buff);
|
||||
return SHELL_STATE_CONTINUE;
|
||||
}
|
||||
__platform_printf("[error]: commond no found.\r\n");
|
||||
return SHELL_STATE_CONTINUE;
|
||||
}
|
||||
|
||||
|
@ -8,9 +8,9 @@ from PikaObj import *
|
||||
|
||||
pkdb = PikaDebug.Debuger()
|
||||
|
||||
# i = 0
|
||||
# while i < 10:
|
||||
# i = i + 1
|
||||
# print('i :' + str(i))
|
||||
# pkdb.set_trace()
|
||||
i = 0
|
||||
while i < 10:
|
||||
i = i + 1
|
||||
print('i :' + str(i))
|
||||
pkdb.set_trace()
|
||||
|
||||
|
@ -24,7 +24,9 @@ static enum shell_state __obj_shellLineHandler_debuger(PikaObj* self,
|
||||
asm_buff = arg_strAppend(asm_buff, "\n0 RUN print\n");
|
||||
pikaVM_runAsm(__pikaMain, arg_getStr(asm_buff));
|
||||
arg_deinit(asm_buff);
|
||||
return SHELL_STATE_CONTINUE;
|
||||
}
|
||||
__platform_printf("[error]: commond no found.\r\n");
|
||||
return SHELL_STATE_CONTINUE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user