Skip to content

Commit

Permalink
improve debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
xianjimli committed Dec 4, 2023
1 parent b6f20e8 commit d8e2361
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

2023/12/04
* 完善combobox的options,如果选项第一个字符不是数字,里面存在':',也不视为分隔符。比如http://localhost视为一个整体。
* 增加函数tk_levelize。fscript增加levelize函数。
* 增加函数tk\_levelize。fscript增加levelize函数。
* 修复assets1m资源名称错误的问题(感谢兆坤提供补丁)
* 修改debugger\_lldb\_stop等待超时的问题以及修复continue显示问题 (感谢智明提供补丁)

2023/12/03
* 修复编译警告。
Expand Down
2 changes: 1 addition & 1 deletion src/debugger/debugger_lldb.c
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ ret_t debugger_lldb_wait_for_completed(debugger_t* debugger) {
}

static ret_t debugger_lldb_stop(debugger_t* debugger) {
return debugger_lldb_disconnect(debugger, TRUE);
return debugger_lldb_disconnect(debugger, FALSE);
}

static ret_t debugger_lldb_pause(debugger_t* debugger) {
Expand Down
2 changes: 1 addition & 1 deletion tools/fdb/fdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ static ret_t func_continue(app_info_t* app, tokenizer_t* tokenizer) {
uint32_t num = 0;
debugger_continue(app->debugger);
debugger_dispatch_messages(app->debugger, 300, &num);
return fdb_show_code(app, FALSE);
return debugger_is_running(app->debugger) ? RET_OK : fdb_show_code(app, FALSE);
}

static ret_t func_flush(app_info_t* app, tokenizer_t* tokenizer) {
Expand Down

0 comments on commit d8e2361

Please sign in to comment.