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

Error on break

P: n/a
Trying to debug a vb.NET application, I set a breakpoint, then try to move
forward from there.
While this has worked in the past (I often did this back in VB6.0), now most
often when I try to move forward, I get a NullReference exception, with the
green arrowhead at the beginning of the code for the form.
How can I debug this?

= Turtle
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Mac,

Normally it should go with F11 (except when there is an error of course).
And a NullReference exception is probably one of the most you will see in
the beginning.

Therefore show a piece of code when that happens.

Cor
Nov 21 '05 #2

P: n/a
Thanks for writing back, Cor!

In VB6.0, I could usually get the code to break where the error is; that
made debugging much easier.
I've often been able to do that in VB.Net as well, but in this particular
application, it seems that I'm more and more frequently seeing that when it
breaks (even though code has clearly been running before the error), the
green arrowhead shows at the beginning of the form module. What causes
this? How can I tell where the error is?

- Turtle

"Cor Ligthert" <no************@planet.nl> wrote in message
news:eY**************@TK2MSFTNGP10.phx.gbl...
Mac,

Normally it should go with F11 (except when there is an error of course).
And a NullReference exception is probably one of the most you will see in
the beginning.

Therefore show a piece of code when that happens.

Cor

Nov 21 '05 #3

P: n/a
Mac,

As I wrote before, can you show a piece of code where that happens, it is
not clear for me. I cannot remember me that I ever saw the behaviour that
you describe.

Cor
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.