Bucky
Contributor
I have a class that implements an Interface, and a Windows app
that compiles the code file at runtime and loads it into a class
instance. In this way, I can change the code while the app is
running.
The only downside is that conventional VS.NET debugging
techniques do not work; I can't step through the code, check
variable values, etc. The only method I have to debug at the
moment is a Debug event that I raise whenver I want to return
the value of a variable, but the debugging is very frustrating.
How can I have a dynamically-compiled and loaded DLL and still
be able to debug it "normally"? Or maybe there's an easier method of
debugging?
that compiles the code file at runtime and loads it into a class
instance. In this way, I can change the code while the app is
running.
The only downside is that conventional VS.NET debugging
techniques do not work; I can't step through the code, check
variable values, etc. The only method I have to debug at the
moment is a Debug event that I raise whenver I want to return
the value of a variable, but the debugging is very frustrating.
How can I have a dynamically-compiled and loaded DLL and still
be able to debug it "normally"? Or maybe there's an easier method of
debugging?