473,385 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Debug - return value ; ?

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

Jun 1 '06 #1
2 2120
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
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Jarod" <bl*****@NOSPAM.gazeta.pl> wrote in message
news:OD**************@TK2MSFTNGP02.phx.gbl...
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

Jun 1 '06 #2
> 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

Jun 1 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: yma | last post by:
Hi, I have an asp.net app that I uses javascript in the html file. Can you show me how to debug javascript in vb.net. I use vb.net in vs.net. Here is a sample html file. If I cannot use...
2
by: Johann Schuler | last post by:
Let's say I have a Person class with a private int age member variable. I have a get and set accessor for the Age property. When I am running the code in debug mode, I would like to have a debug...
22
by: semedao | last post by:
Hi , I am using asyc sockets p2p connection between 2 clients. when I debug step by step the both sides , i'ts work ok. when I run it , in somepoint (same location in the code) when I want to...
7
by: =?Utf-8?B?R3JpZ3M=?= | last post by:
Hello, After getting some posts on forums.microsoft.com but no solution I was asked to post over here. Hopefully someone here can help with my problem. I have a Windows Forms application...
2
by: joelkeepup | last post by:
Hi, I made a change this morning and now im getting an error that says either "a is undefined or null" or "e is undefined or null" the microsoft ajax line is below, I have no idea how to...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.