Debug wpf host and delphi dll at the same time

Hey guys,

I’m actually testing hydra for a new project.
I have a wpf-hostapplication and a delphi plugin-dll.
In the moment I can either debug the host application by starting the app from visual studio or I can run it from delphi to debug my dll.
I would like to debug the dll and the wpf-host at the same time.
I tried to attach to the running process but VS tells me there is already a debugger when delphi started the host.
On the other hand delphi doesn’t want to attach to the host, when I started the host from VS (Error: Unable to create process: The parameter is incorrect).

What am I missing here?

THX
CU
mts

Hi, as far as i’m aware you can not attach two debuggers to one process at the same time/

I’ve never tried this, but you might be able to use https://code.google.com/p/map2dbg/ to convert a “map” file delphi can emit to debug info so VS can debug both sides.