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

Error on break

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
3 880
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Donald Canton | last post by:
Hi, I'm using Bjarne's book to learn C++ and am stuck on the Calc program in Section 6. Everything works fine except when I try to use istringstream to parse a token from the command line. I...
4
by: learning_C++ | last post by:
Hi, I try to use input = new istrstream(argv,strlen(argv)); in my code, but it always says error: " error: parse error before `(' token" please help me! Thanks, #include <map>
3
by: deko | last post by:
I have a logging routine that's supposed to silently log errors caught by error handler code on certain functions. The problem is sometimes stuff happens and the error handler can get caught in a...
7
by: tyler_durden | last post by:
thanks a lot for all your help..I'm really appreciated... with all the help I've been getting in forums I've been able to continue my program and it's almost done, but I'm having a big problem that...
3
by: Angus | last post by:
Hello I am getting this compile error: error C2259: 'PublicTON' : cannot instantiate abstract class due to following members: csta2less.h(1755) : see declaration of 'PublicTON' Class is like...
1
by: FightClubDiego | last post by:
Hey.. I've been working on these sign up / log in forms for my new Game Site, and everything else in the game works but the registration!! I keep ketting the unexpected $end and Im tired of it! Here...
4
by: Comcast | last post by:
Can anyone help: When I compile this code, I'm getting undefined reference to 'getData(WeatherStats*,int)' I'm not sure what is causing the error. Thanks Art
2
by: cerise | last post by:
I'm trying to make an object to represent a single playing card. Like if it's an EIGHT of HEARTS, the object should be "8 H". Here is what I came up with, but I keep getting the error message, ...
1
by: KRISHNA PRAVI | last post by:
the error is "runtime error object expected" here is the code....................................................................................... <script language="javascript"...
4
by: MZaza | last post by:
That's a calculator and there is an option which should convert the result you got to binary, but when I try to do so I get a Windows error stating that the applications has encountered an error.....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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...
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.