vb.net - Exception is thrown when debugger is attached but it is not thrown when the program started without debugging -


i'm programming interface. use dll uses network socket. program throws socketexception when unplug ethernet cable , plug back*, if debugger attached. exception not thrown when program started without debugging, , continues work fine.

what may cause of ?

*my application running on virtual machine, vm bridged local network. computer connected internet via wifi. when unplug ethernet cable, vm changes network connection wifi without raising network availability changed event. when plug back, exception thrown if debugger attached, , not thrown if debugger not attached.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -