Recent

Author Topic: Debugging Windows Applications on Linux  (Read 328 times)

Seenkao

  • Hero Member
  • *****
  • Posts: 676
    • New ZenGL.
Debugging Windows Applications on Linux
« on: March 01, 2025, 09:56:21 pm »
Есть ли возможность отлаживать Windows-приложения используя Linux? Не прибегая к средствам Wine.
Было бы неплохо видеть пример как это было реализовано, если таковой есть.

Более подробно, если не понятно объясняю. Я хочу использовать Lazarus, который установлен в Linux. И из него же отлаживать приложения.
А не устанавливать Lazarus для Windows, используя Wine.

------------------------------------------------------
Gogle translate:
Is it possible to debug Windows applications using Linux? Without resorting to Wine.
It would be nice to see an example of how this was implemented, if there is one.

In more detail, if it is not clear, I will explain. I want to use Lazarus, which is installed in Linux. And from it you can debug applications.
Instead of installing Lazarus for Windows using Wine.
« Last Edit: March 01, 2025, 10:03:50 pm by Seenkao »
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

440bx

  • Hero Member
  • *****
  • Posts: 5136
Re: Debugging Windows Applications on Linux
« Reply #1 on: March 01, 2025, 10:03:28 pm »
Is it possible to debug Windows applications using Linux? Without resorting to Wine.
It would be nice to see an example of how this was implemented, if there is one.
Without resorting to Wine the only solution that comes to mind is to have the app running in a separate Windows installation that is being remotely debugged from a Linux installation.

I don't have an example of that but, I know there are plenty of articles/examples on how to use GDB across machines.  I suppose there must be a mixed Linux/Windows example setup somewhere on the net.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

Seenkao

  • Hero Member
  • *****
  • Posts: 676
    • New ZenGL.
Re: Debugging Windows Applications on Linux
« Reply #2 on: March 01, 2025, 10:09:58 pm »
440bx, да, я знаю способы отладки сторонних архитектур с использованием GDB. Хороший пример здесь: https://azeria-labs.com/arm-on-x86-qemu-user/

Но я всё же надеюсь уже кто-то реализовывал подобное для Lazarus?  :-[


Google translate:
 440bx, yes, I know ways to debug third-party architectures using GDB. A good example is here: https://azeria-labs.com/arm-on-x86-qemu-user/

But I still hope someone has already implemented something like this for Lazarus? :-[
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

 

TinyPortal © 2005-2018