Skip to content

Commit

Permalink
Actually use those append functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovank committed Mar 11, 2024
1 parent 9ec533b commit c751e4b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/chatdbg/chatdbg_lldb.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,15 @@ def why(

the_prompt = buildPrompt(debugger)
args, _ = chatdbg_utils.parse_known_args(command.split())
chatdbg_utils.explain(the_prompt[0], the_prompt[1], the_prompt[2], args)
chatdbg_utils.explain(
the_prompt[0],
the_prompt[1],
the_prompt[2],
args,
result.AppendMessage,
result.AppendWarning,
result.SetError,
)


@lldb.command("print-test")
Expand Down Expand Up @@ -675,5 +683,5 @@ def repl(
break
result = _capture_onecmd(debugger, command)
print("-----------------------------------")
print(result)
print(result, end="")
print("-----------------------------------")

0 comments on commit c751e4b

Please sign in to comment.