Build Release with VS2003 on machine

B

Bob Day

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
 
K

Ken Tucker [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top