473,699 Members | 2,458 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debug - return value ; ?

Hey
Let's say I have following code:

return db.ExecuteDataS et(...);

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.ExecuteDataS et(...);
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 2124
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******** ******@TK2MSFTN GP02.phx.gbl...
Hey
Let's say I have following code:

return db.ExecuteDataS et(...);

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.ExecuteDataS et(...);
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
2229
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 vb.net to debug it, please let me know, too. <HTML><head> <script type="text/javascript"> function verify(v){
2
2560
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 window show me the value of age (rather than the value of the Age property). Is there a way to do this? Thanks!
22
4021
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 receive 5 bytes buffer , I call the BeginReceive and then wait on AsyncWaitHandle.WaitOne() but it is signald imidiatly , and the next call to EndReceive return zero bytes length , also the buffer is empty. here is the code: public static byte...
7
3056
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 written in C# via VS 2003. It does 100% of what it should while in Debug mode (running in the debugger as well as running the .exe from File Explorer.) However, there is one thing it does not do when compiled in Release mode (running in the debugger...
2
9033
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 figure this problem out. Any suggestions? thanks Joel
0
8686
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8615
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9173
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8882
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6533
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4627
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3057
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2345
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2009
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.