You can't single step (F11) an application using reflection. The only way to support single stepping an application is to build a debugger. In this case you will then have to modify the generated code on the fly to add the breakpoint call after each line. You'll also need to build the entire debugging infrastructure to allow them to see variable values, etc. Honestly it is a lot of work and probably not worth the effort. Nevertheless there are various examples of building a debugger on the web. Plan on spending a lot of time on it though.
Michael Taylor - 9/12/06