Compiled code doesnt comprise "lines"Well, the stack trace rarely ever helps me because it doesnt contain a line number
It is usually advised to avoid such a programming styleand my functions are large.
Structured try/catching and logging of significant events would be my approach..Since the user can rarely explain what they were doing very well, having a snapshot of the variables would be incredibly useful.
I dont know for certain; in 10 years of OO, i've never really had need for reflection. Sorry!I appreciate the reply, but are you able to help me out a bit more? I mean, how exactly would i use the reflection namespace to get a snapshot, and how much overhead are we talking here?