Subject: Re: bug#66604: [PATCH] Gud LLDB completions

From: Mattias Engdegård <[email-masked]>
Date: Thu, 19 Oct 2023 13:36:59 +0200

19 okt. 2023 kl. 12.48 skrev Gerd Möllmann <[email-masked]>:

> Please git pull :-)

Look at that. It actually works, and getting the column was a nice bonus! Bravo!

Some observations:

1. The command

  script --language python -- print('Gud initialized')

is apparently sent twice. Perhaps something simpler can be sent, and only once?

2. Sometimes there's an extra (second) space after the (lldb) prompt, typically after stopping. No idea where that comes from.

3. Please get rid of that `eval`! Just parse the frame info using a regexp.

Either come up with a format that is easy for both humans and computers to parse, or just computers (in which are that text in the buffer can be replaced with a human-friendly string).