Current executed line

  • Thread starter Thread starter Freddy
  • Start date Start date
F

Freddy

I need a really good logging system for an application. Is there a way to
programatically get the current line, in the ide, that has been executed.
That way, i can log the line at which the error or an event was fired.

Thanks,
 
new StackTrace().ToString() can you give a lot of information. Maybe you
might want to parse it if you do not need *all* information.
 
Back
Top