joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.77k stars 381 forks source link

Debugger in windows mingw build cannot step-in #5130

Open palxex opened 2 months ago

palxex commented 2 months ago

Describe the bug

Once I press F11 as documented, the Debugger Window will turn into fullscreen.

Steps to reproduce the behaviour

  1. open dosbox, open debugger window either by pressing alt+break or debugbox any exe
  2. switch to debugger window, press f11
  3. the debugger window become fullscreen( can be ensure the step-in not work, since the EIP register not changed).

Expected behavior

Step-in works again in mingw build (tested vsbuild don't have this problem)

What operating system(s) this bug have occurred on?

Windows11 23h2

What version(s) of DOSBox-X have this bug?

dosbox-x-mingw-win64-20240702034526

Used configuration

No response

Output log

No response

Additional information

No response

Have you checked that no similar bug report(s) exist?

Code of Conduct & Contributing Guidelines

joncampbell123 commented 2 months ago

Is there something Windows is doing with the F11 key?

I have the same problem with XFCE's Terminal program here on Linux where it too wants to go fullscreen.

A workaround is to press "0" (make sure the command line at the bottom is clear first) which is a single-step command.

palxex commented 2 months ago

Not sure whether its' windows version-relative, since the problem happened on both windows 10/11, but only on MINGW build. In later tests, my dosbox-x on windows 11 also could not re-layout after dragging changes the window width, while my friends on windows 10 does not have same problem. Not sure the problem is windows-relative, conhost-relative, or libcurses-relative? Thanks for the workaround tip:)