473,569 Members | 2,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Wierd .NET Debugging behavior...

Tom
We are experiencing some wierd debugging behavior. What happens is
that, during debugging with VS 2003, the debugger seems to 'skip'
statements that are associated with database operations. For instance,
I can be single-stepping through a VB.NET program, and once I hit a DB
related statement (such as setting command parameters, executing a data
reader, etc) the debugger will simply 'skip' ahead a number of
statements (if not all the way to the end unless a breakpoint has been
assigned before this). The code it 'skips' actually runs - it just no
longer single-steps through it. This only occurs with DB related
statements, and it is NOT consistant (i.e. some statements it single
steps through fine, others it exhibit this skipping issue). I know it
is not my machine because others in our group have experienced the same
thing.

Now, we use Oracle and recently installed the Oracle 10g ODP client,
and that is when this wierd issue began. So it may be an ODP issue, but
I thought I would start with one of the .NET newsgroups first. Any
ideas? Thanks in advance.

Chimp (Tom)

--

May 23 '06 #1
3 1536
Tom,

Often helps in this to empty the generated code in the debug folder and
start again.

I hope this helps,

Cor

"Tom" <to*@nospam.com > schreef in bericht
news:uy******** *****@TK2MSFTNG P03.phx.gbl...
We are experiencing some wierd debugging behavior. What happens is
that, during debugging with VS 2003, the debugger seems to 'skip'
statements that are associated with database operations. For instance,
I can be single-stepping through a VB.NET program, and once I hit a DB
related statement (such as setting command parameters, executing a data
reader, etc) the debugger will simply 'skip' ahead a number of
statements (if not all the way to the end unless a breakpoint has been
assigned before this). The code it 'skips' actually runs - it just no
longer single-steps through it. This only occurs with DB related
statements, and it is NOT consistant (i.e. some statements it single
steps through fine, others it exhibit this skipping issue). I know it
is not my machine because others in our group have experienced the same
thing.

Now, we use Oracle and recently installed the Oracle 10g ODP client,
and that is when this wierd issue began. So it may be an ODP issue, but
I thought I would start with one of the .NET newsgroups first. Any
ideas? Thanks in advance.

Chimp (Tom)

--

May 24 '06 #2
Tom
Cor: I tried this but unfortunately it didn't seem to help. Even tried
another suggestion and removed then re-added the reference to Oracle
ODP - still no luck. And it isn't just me - others have experienced the
same issue at my workplace.

Any other ideas?

Tom

--

Cor Ligthert [MVP] wrote:
Tom,

Often helps in this to empty the generated code in the debug folder
and start again.

I hope this helps,

Cor

"Tom" <to*@nospam.com > schreef in bericht
news:uy******** *****@TK2MSFTNG P03.phx.gbl...
We are experiencing some wierd debugging behavior. What happens is
that, during debugging with VS 2003, the debugger seems to 'skip'
statements that are associated with database operations. For
instance, I can be single-stepping through a VB.NET program, and
once I hit a DB related statement (such as setting command
parameters, executing a data reader, etc) the debugger will simply
'skip' ahead a number of statements (if not all the way to the end
unless a breakpoint has been assigned before this). The code it
'skips' actually runs - it just no longer single-steps through it.
This only occurs with DB related statements, and it is NOT
consistant (i.e. some statements it single steps through fine,
others it exhibit this skipping issue). I know it is not my machine
because others in our group have experienced the same thing.

Now, we use Oracle and recently installed the Oracle 10g ODP client,
and that is when this wierd issue began. So it may be an ODP issue,
but I thought I would start with one of the .NET newsgroups first.
Any ideas? Thanks in advance.

Chimp (Tom)

--


--

Jun 5 '06 #3
Tom,

Never did this with ASPNET. If an not catched error is thrown, than in my
idea the program is stopped and goes on with the browser.

Can you try to change while your application is loaded using the Debug menu
the exceptions.
You can set them in a lot of ways, and even very selective, even can you
tell to pass those.

Cor

"Tom" <to*@nospam.com > schreef in bericht
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Cor: I tried this but unfortunately it didn't seem to help. Even tried
another suggestion and removed then re-added the reference to Oracle
ODP - still no luck. And it isn't just me - others have experienced the
same issue at my workplace.

Any other ideas?

Tom

--

Cor Ligthert [MVP] wrote:
Tom,

Often helps in this to empty the generated code in the debug folder
and start again.

I hope this helps,

Cor

"Tom" <to*@nospam.com > schreef in bericht
news:uy******** *****@TK2MSFTNG P03.phx.gbl...
> We are experiencing some wierd debugging behavior. What happens is
> that, during debugging with VS 2003, the debugger seems to 'skip'
> statements that are associated with database operations. For
> instance, I can be single-stepping through a VB.NET program, and
> once I hit a DB related statement (such as setting command
> parameters, executing a data reader, etc) the debugger will simply
> 'skip' ahead a number of statements (if not all the way to the end
> unless a breakpoint has been assigned before this). The code it
> 'skips' actually runs - it just no longer single-steps through it.
> This only occurs with DB related statements, and it is NOT
> consistant (i.e. some statements it single steps through fine,
> others it exhibit this skipping issue). I know it is not my machine
> because others in our group have experienced the same thing.
>
> Now, we use Oracle and recently installed the Oracle 10g ODP client,
> and that is when this wierd issue began. So it may be an ODP issue,
> but I thought I would start with one of the .NET newsgroups first.
> Any ideas? Thanks in advance.
>
> Chimp (Tom)
>
> --


--

Jun 6 '06 #4

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

Similar topics

6
1706
by: Qun Cao | last post by:
Hello, I am just starting to play threading in python, here is a really interesting problem I am very curious about: " import thread def main(): thread.start_new(test.()) def test():
1
6800
by: paul reed | last post by:
Hello, I am having some weird behavior between two machines...one which is running the 1.1 framework and one which is running 1.0. After opening a child form from a parent...I update the database then call the __doPostBack function of the window.opener. This has been working like a charm for the last several months. Our ISP where we run...
3
3634
by: R Millman | last post by:
under ASP.NET, single stepping in debug mode appears not to stop within event procedures. i.e. 1) Create web page with submit button and event procedure for the click event in the code behind page, 2) Breakpoint in the Page_Load, 3) debug the web page and click the submit button, 4) "step into" under debug several times, 5) The debugger...
0
3213
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs converted/developed with VB.NET. What I want from debugging is to be able to step into the methods in the DLLs called from ASP scripts using Visual Studio .NET. ...
0
1172
by: Tom | last post by:
OK, here's a wierd one... I have a listbox, which I fill with strings (in my case, file names). I normally load this via a loop, adding each item to the list box in the loop. I put lb.BeginUpdate before the start of the loop, and lb.EndUpdate at the conclusion of the loop. Here's the wierd part: If there is only ONE line loaded into the list...
5
7784
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an app.config file referencing arbitrary versions of the plug-in components they wish to consume. Here's the problem: Assuming I have installed any...
4
1512
by: Muthu Arumugam | last post by:
Tried the following c# code static void Main(string args) { ArrayList list = new ArrayList(); int i = 10;
4
1517
by: Ismo Salonen | last post by:
I've got code that works when started normally (explorer, command whatever) but fails when started from VS2003. It crashes in different place when started with debugging (F5) and other place when started without debugging ( CTRL+F5). The same code works correctly on W2K/W2K3/XP. All modules are C++ code. The Visual Studio 2003 must be...
7
4096
by: GaryDean | last post by:
(this was also posted on the MSDN WCF forum but the answers over there are not so good) I have a WCF Library hosted by IIS 6 and it all works fine. However I need to step through the code in the service. But when I hit F5 in VS2008 I get the following error message. . . A binding instance has already been associated to listen URI...
0
7694
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...
0
7609
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...
0
7921
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. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7964
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...
1
5504
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...
1
2107
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
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
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...

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.