Trace the Application in Runtime.... RRS feed

  • Question

  •  Hi to all,


    i like to create a application, that will allow user to trace through out code runtime like f11, i will use reflection to open the methods in the user dll. how create a trace in a new window......

    please help me...........

    is it possible,

    any ideas, i like to do that application in c#.

    Monday, September 11, 2006 11:15 AM

All replies

  • 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

    Tuesday, September 12, 2006 12:21 PM