PDA

Click to See Complete Forum and Search --> : Errors i get


PT Exorcist
Jan 9th, 2003, 03:57 PM
there 2 kinds of error i get when coding in .NET:
http://www.vbforums.com/attachment.php?s=&postid=1324279

or

http://www.vbforums.com/attachment.php?s=&postid=1324283

when do the bottom one happen and when does the bellow on appear? i am not talking about the exception but abouyt the kind of message...one let's me get the line in the code that the error ocurrs and the other no...i want to get the one that points to the line in the code but i am getting only the one which doesnt show up the line...what do i need to change in settings?

Edneeis
Jan 9th, 2003, 04:24 PM
The stuff in the box under 'Exception text' is the Stack trace information from the exception.

dim ex as exception
ex.StackTrace

PT Exorcist
Jan 9th, 2003, 04:36 PM
but it is a bit confusing it's much better the thing that allows me to go to break mode and see the line ...anyone knows how to change it back as how it was supossed to be?

Edneeis
Jan 9th, 2003, 08:07 PM
I think its controlled by the debug setting in the machine.config file or a config file for the project, I'm not sure though.

PT Exorcist
Jan 10th, 2003, 04:04 AM
yea ther is a part in the file i changed from JIT debugger from false to true but it still givin me the non-jit debugger dialog :confused:

PT Exorcist
Jan 10th, 2003, 01:52 PM
anyone...? hellwraith u that know always everything maybe u know this =PpP

Lord_Rat
Jan 10th, 2003, 02:09 PM
On that bottom one, what does the message say at the bottom?

PT Exorcist
Jan 10th, 2003, 02:14 PM
hmm they are similar errors, but the error itself doesnt matter...it seems that in some projects i get the first message and in some projects i get the another one...but the down one is a bit anoying because it doesnt point to the part of the code that has the error so it makes me go search by all the code...well..not all code...but the other one is easier and better :p

Lord_Rat
Jan 10th, 2003, 02:54 PM
I wasn't hinting at a way to fix the error.

You see, the second box states right at the top:

See the end of this message for details on invoking just-in-time debugging instead of this dialog box.

PT Exorcist
Jan 10th, 2003, 03:57 PM
ah yea...like Edneeis says it seems that if i change a setting in machine.config it would use the other dialog..but i tryed changing and it didnt work:confused: :confused: :confused: