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 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
> 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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){
|
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!
|
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...
|
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...
|
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
| |
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...
|
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,...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |