Interest Ask. I believe that it is best to use WinDbg to join the .NET exe executable process (I think you will need to do this after tyoe has been compiled in memory since the memory addresses for the EXE will change - I suppose).
Then, when the type is compiled and run in memory, you can search for this type using the commands found in SOS.dll. You can also place breakpoints in memory using SOS.dll
Getting started with an SOS link
http://rionisimpsoni.wordpress.com/2009/10/08/getting-started-with-windbg-and-sos-dll/
This is a slightly easy answer, as the explanation of how to use WinDbg and SOS.dll has been repeatedly viewed on the Internet.
Edit:
One of the disadvantages of this method is that you cannot see the source code, such as Visual Studio. When you go through the code, you will see assembly language. This may put you off already :), but if you stick to it and understand a little assembly, you could do enough to debug the errors, for example.
Another thing you could do is to unload the .NET assembly from memory to a file on disk. The SOS.dll command for this eludes me, I will go after it ...
Ahh, this is SaveModule . An example of this can be found in the comments here .
Jason evans
source share