Recent

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

Mr.Madguy

  • Hero Member
  • *****
  • Posts: 775
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.
29.12.2021 - migration to DynamicData 4.1 is completed - complete overhaul of data access driver.
My project still requires full Delphi 2009 support to be ported to Lazarus.
It's time to finally do it, because Delphi 2009 is 13 years old.

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1175
    • 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: 10291
  • 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