473,387 Members | 1,463 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,387 software developers and data experts.

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 1522
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*************@TK2MSFTNGP03.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*************@TK2MSFTNGP03.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****************@TK2MSFTNGP04.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*************@TK2MSFTNGP03.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
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
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...
3
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...
0
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...
0
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...
5
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...
4
by: Muthu Arumugam | last post by:
Tried the following c# code static void Main(string args) { ArrayList list = new ArrayList(); int i = 10;
4
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...
7
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...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
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,...
0
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,...
0
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...

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.