http://bugs.winehq.org/show_bug.cgi?id=59044
Bug ID: 59044 Summary: lldb.exe: After breakpoint got hit and next character is entered, cursor jumps a few lines upwards Product: Wine Version: 10.19 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@list.winehq.org Reporter: bernhardu@mailbox.org Distribution: ---
Created attachment 79811 --> http://bugs.winehq.org/attachment.cgi?id=79811 steps to reproduce, and a workaround-patch
I tried using lldb.exe from the llvm-mingw-nightly package. It kind of works, can attach to process, create breakpoints, stops at breakpoints, shows source.
But one thing I noticed is when hitting a breakpoint and when entering the first character of the next command, the cursor jumps a few lines upwards. By that the output of the next command gets mixed into the previous output.
This happens in both, plain kde-plasma konsole and wineconsole.
From my debugging attempts it looks like in update_read_output the edit_line's home_y got not updated by lldb.exe printing some lines.
Attached file contains my steps to reproduce it with a debian trixie and with winehq packages. At the end there is a workaround I found working well for my purposes.
I selected the component programs, because it looks to be about conhost.exe.
http://bugs.winehq.org/show_bug.cgi?id=59044
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/mstorsjo | |/llvm-mingw/releases/downlo | |ad/nightly/llvm-mingw-night | |ly-ucrt-x86_64.zip Keywords| |download, source Distribution|--- |Debian