Debug - return value ; ?

  • Thread starter Thread starter Jarod
  • Start date Start date
J

Jarod

Hey
Let's say I have following code:

return db.ExecuteDataSet(...);

Works ok, but I want to see what's in the dataSet. Normally visualizer will
do the job, but how to set up visiualizer on object created dynamically like
this one here ? I don't want to change code just to add:
DataSet ds = db.ExecuteDataSet(...);
return ds;

and than debug. Is there a way to get visualizer just from return statement
? I can take it from watch window ;) But maybe there is a simplier way ?
Maybe you will also share some good ( advanced ) articles about debugging ?
Best book on this subject is ... ?
Jarod
 
Hi,

What about the calling method?

Frankly I don't know (don;t tkink so) if you can see the return value in a
watch window
 
What about the calling method?
Frankly I don't know (don;t tkink so) if you can see the return value in a
watch window

If I put a whole statement in Watch window than you got Visualizer enabled
;)
Jarod
 

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