|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Build Release with VS2003 on machineUsing VS 2003 and VB.net...
Does a build release react differently to an exception if it sees a debugger (such as VS 2003) on the machine? With a bad SQL connection string, the VS 2003 F5 debug and the debug build handle it correctly - there error is correctly trapped and caught with an try/catch. With the same code in a build release, same error, I would expect it to operate the same. But instead, a dialog box come up saying Would I like to launch a degugger? and VS2003 is an option. The problem is probably something else, but I though I would check. Thanks! Bob Bob,
It shoud be caught in the try catch block in debug and release mode. I would expect that you have an exception being thrown that is not inside of a try catch block. Post some code. Ken ------------------------ Show quoteHide quote "Bob Day" <Bob***@TouchTalk.net> wrote in message news:%23tL8lDZvGHA.3912@TK2MSFTNGP03.phx.gbl... > Using VS 2003 and VB.net... > > Does a build release react differently to an exception if it sees a > debugger (such as VS 2003) on the machine? > > With a bad SQL connection string, the VS 2003 F5 debug and the debug build > handle it correctly - there error is correctly trapped and caught with an > try/catch. > > With the same code in a build release, same error, I would expect it to > operate the same. But instead, a dialog box come up saying > Would I like to launch a degugger? and VS2003 is an option. > > The problem is probably something else, but I though I would check. > > Thanks! > Bob >
Can I make my program more efficient ?
Can anyone help in shortening this loop??? My for each loops do not compile - VB 2003 execution from command line Form2.vb[design] innaccessible ! Help! pumping wait primitives - what is that? Run an Access report in a VB .Net application How to detect if program execution is in debug mode? Problem with CustomTyped casting and type checking Binding an Image to a picturebox |
|||||||||||||||||||||||