By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,680 Members | 2,091 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,680 IT Pros & Developers. It's quick & easy.

Wierd .NET Debugging behavior...

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.