How do I trap an "Exception" in VB.net?
My program is crashing and I don't know why.
When I run it from VS (2022 64bit), it doesn't give me an error. It simply ends. The output windows reports:
"Exception thrown: 'System.ArgumentException' in Microsoft.VisualBasic.dll"
Doesn't even give me a line number. I have no idea what is causing my program to crash. How do I debug this?
Sign in to comment