Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wd: cursor movement produces broken display content #1333

Open
winspool opened this issue Sep 22, 2024 · 0 comments
Open

wd: cursor movement produces broken display content #1333

winspool opened this issue Sep 22, 2024 · 0 comments

Comments

@winspool
Copy link
Contributor

winspool commented Sep 22, 2024

I discovered the issue with $WATCOM/binl/wd, but to make it easier for non linux users,
I reproduced the issue with %WATCOM%\binnt\wd.exe from the current "ci" snapshot on win11:
(binnt64\wd.exe [and wdw.exe] fail to start: "TRAP Loader: Unable to load module file")

  • Build a simple "hello world" style program
    (I use owcc hello.c -g -o hello_win32.exe) hello.c.txt

  • Start %WATCOM%\binnt\wd.exe with the resulting hello_win32.exe

  • Screenshot after wd.exe comes up: wd_screenshoot_1
    (* Unfortunately, the "Locals" window is active. An active "Source" window would be better)
    (* The orange square left of the "File" menu is the cursor from OS, but the cursor from wd.exe is different)

  1. Activate the "Source" window
  2. Press "Cursor right" the first time: Display content is still ok
  3. Press "Cursor right" the second time: Display content is broken: "main(void)" disappeared
  4. Press "Cursor down" two times: The "printf" line disapeared: wd_screenshoot_2
  5. More cursor moves destroy more of the window content
  • Activating the "Assembly" windows and moving the cursor around produces similar garbage:
    Example screenshot: wd_assembly_example_2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant