VBobCat
Well-known member
I'm debugging my application, which is wrote in VB.NET
At one given point, I made a mistake: I created a DataTable and added a DataColumn with the same name of another DataColumn I already had added before.
At another point, I made something like this: I created a Dictionary(Of String, String) and added an entry with the same key of another entry I've previously added.
For my astonishment, I noticed that these errors are not indicated when running.
So I added this line to that routine:
The result was the same. VS just drops execution pointer at the line the error occurs, without any warning. The application keeps running, that is, it keeps open and doing nothing.
Could someone explain what causes this bizarre behavior?
Thank you very much.
At one given point, I made a mistake: I created a DataTable and added a DataColumn with the same name of another DataColumn I already had added before.
At another point, I made something like this: I created a Dictionary(Of String, String) and added an entry with the same key of another entry I've previously added.
For my astonishment, I noticed that these errors are not indicated when running.
So I added this line to that routine:
VB.NET:
Dim division_by_zero = 1 / 0
Could someone explain what causes this bizarre behavior?
Thank you very much.