Recent

Author Topic: Some way to debug Win32 apps in DOS?  (Read 2185 times)

Mr.Madguy

  • Hero Member
  • *****
  • Posts: 844
Some way to debug Win32 apps in DOS?
« on: April 17, 2022, 03:51:39 pm »
HX allows running Win32 apps in DOS, but they can't be debugged. Is there some way to do it? For example some integration with DOSBox? Or it can be done via DOS tools only, such as WD? Unfortunately TD32 isn't supported by HX and 32rtm doesn't allow DOS extender things, like accessing video memory - it's more like pure Win32 console emulator. And I'm isn't familiar to WD. Latest version doesn't work with HX, so some old one should be used.
Is it healthy for project not to have regular stable releases?
Just for fun: Code::Blocks, GCC 13 and DOS - is it possible?

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: Some way to debug Win32 apps in DOS?
« Reply #1 on: April 30, 2022, 07:11:05 pm »
Did you tried GDB on MS-DOS?  Never used it for FPC nor Win32 applications but should do the work.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Some way to debug Win32 apps in DOS?
« Reply #2 on: April 30, 2022, 07:13:39 pm »
Sounds like a question for Japeth, as we don't really actively distributed HX ever.

But the most logical solution would be to try to run a win32 version of gdb, and then have that load the application?

I however don't estimate your chances very high, probably HX doesn't support Win32 debugger api


 

TinyPortal © 2005-2018