vb.net - VB not stopping at exceptions -


i vb.net, there driving me nuts. many times when exception occurs, continues somewhere else, exiting sub or function, otherwise keeps on rolling. example, using asc() instead of ascw(). didn't throw exception, left function if return executed. meanwhile i'm leaving red dot stop points on has chicken pox trying figure out causing it.

is there setting can used used cause vb stop , give line number?

have tried using try..catch..finally statement. e.g. ex.string put exception string in message , tell vb line.

try   'code here  catch ex exception  messagebox.show("something went wrong. " & ex.tostring, "data error ")  end try 

Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -