Local variables, method arguments dump.

  • Thread starter Thread starter emdzej
  • Start date Start date
E

emdzej

Hi everyone, I've got short question, but not so obvious to answer I
think. Is it possible to programically dump local variables and method
arguments? It would be very helpfull for sending bug reports for
example. For sure it requires compiling the code in debug mode, but I
have no idea what to do next.

Thanks in advance.

Michal Jaskolski
 
Usually you wouldn't dump all that 'sensitive' information into a bug
report.

You'd make a detailed report based on the exception to tell you where to
look for the problem, line number etc and then you'd have that emailed to
you. So you can look into recreating the bug, at which point you'd get all
your variable values and can step through on your dev machine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top