Hi, i'm trying to debug a .NET application on Wine.
I would like to open Visual Studio on my Windows host pc and attaching to linux wine .NET app using msvsmon.exe
From Visual Studio i can see the linux pc on the "remote debugging machines" but i can't connect to it in order to debug managed code.
Is there any other way to debug .NET managed code (without mono)?
Thanks
Microsoft Remote Debugger (msvsmon.exe)
Re: Microsoft Remote Debugger (msvsmon.exe)
I think that this one could be useful https://rw.internals.io/post/fix-remote ... es-wwsapi/ if only i could install it
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Microsoft Remote Debugger (msvsmon.exe)
Why do you think this helps?
Re: Microsoft Remote Debugger (msvsmon.exe)
Because i think that the webservices API implementation in Wine could be not fully compliant with the Microsoft Remote Debug. So using the webservices.dll could solve the issue. Don't you think?
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Microsoft Remote Debugger (msvsmon.exe)
Could be right, or completely wrong. Why not just copy a working DLL from windows to try?
Re: Microsoft Remote Debugger (msvsmon.exe)
Yes i've tried but it doesn't seems to change anything (i override it to native in winecfg)
-
- Newbie
- Posts: 3
- Joined: Wed Jul 22, 2020 12:03 am
Re: Microsoft Remote Debugger (msvsmon.exe)
Hello,
I have a similar problem. I'd appreciate if someone could give me a hint for remote debugging
.NET application.
From Window10 PC and VisualStudio2019, I am attaching to the wine process
running on the Fedora32 that is running on the VirtualBox installed in the Windows.
Visual Studio 2019 can list the wine processes on Fedora/VirtualBOX successfully, but it takes quit long time
to attach, and finally it failed.
Environment:
Wine version: 5.12(staging)
.NET Framework on Wine: Microsoft 3.5SP1 (I also tried upto 4.7.2 using winetricks.)
Fedora's firewall is diabled. port 4024, 4025 are set to be port-fowarded via VirtualBox's NAT interface.
Target application: Windows Forms, Microsoft .NET Framework 3.5.
msvsmon.exe authentication setting is disabled (anyone can attach)
Error messages:
msvsmon.exe first displays warning message, saying appropriate .net framework is not installed.
(.NET Frameowork 4.0.40319 is not installed, and it cannot debug managed application)
With Best Regards,
-- Tomonori Manome
I have a similar problem. I'd appreciate if someone could give me a hint for remote debugging
.NET application.
From Window10 PC and VisualStudio2019, I am attaching to the wine process
running on the Fedora32 that is running on the VirtualBox installed in the Windows.
Visual Studio 2019 can list the wine processes on Fedora/VirtualBOX successfully, but it takes quit long time
to attach, and finally it failed.
Environment:
Wine version: 5.12(staging)
.NET Framework on Wine: Microsoft 3.5SP1 (I also tried upto 4.7.2 using winetricks.)
Fedora's firewall is diabled. port 4024, 4025 are set to be port-fowarded via VirtualBox's NAT interface.
Target application: Windows Forms, Microsoft .NET Framework 3.5.
msvsmon.exe authentication setting is disabled (anyone can attach)
Error messages:
msvsmon.exe first displays warning message, saying appropriate .net framework is not installed.
(.NET Frameowork 4.0.40319 is not installed, and it cannot debug managed application)
With Best Regards,
-- Tomonori Manome