Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Remote debug problem generic host

$
0
0

Visual Studio 2019 16.7.7

I have a .net 3.1 console app implemented as a generic host.

This works fine on development machine.

Now I want to do some changes and debug remotely on another machine.
Have installed remote debugger on the other machine, set Debug/Use remote machine and entered ip address of it (without port).
Authentication mode = none, Allow all users is set on the remote debugger.
Further the Build/Output path is changed to a path on the remote machine (by network share).
Compiling is fine, files are built on the remote machine and I may run the exe file on the remote machine which works fine.
Then I start a remote debugging and little is happening it seems, however, generic host is built, services are constructed, but nothing is logged (using serilog).
Then I observe that the Run() method on the IHost returns immediately without any trace of why.

Anyone knows why I cannot debug correctly?


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>