Debug a DLL of a Hydra Visual Project (.Net) on Delphi

Hi,

Is it possible debug (dynamically) a DLL generated by a Hydra Visual Project (.Net) when calling it in a Delphi Project?

Thank you!

Hello

The easies way to do this is to add this line

System.Diagnostics.Debugger.Launch();

to the code you want to debug. Then when this code will be executed you will be asked if you want to launch Visual Studio to debug the code.

Regards

Hi,

I just found a solution for this!

On Visual Studio:

  • Go to project -> Project Properties -> Choose Debug mode -> Choose Start External Program -> Browse the Delphi exe file path.
  • Then go to Debug -> Exceptions -> Check Common Language Runtime Exception.

Perhaps this may help someone!

Thank you!