473,396 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Build Release with VS2003 on machine

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
Aug 11 '06 #1
1 960
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
------------------------
"Bob Day" <Bo****@TouchTalk.netwrote in message
news:%2****************@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

Aug 13 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: bnc mag | last post by:
Hello, Visual Studio 6 allows users to specify seperate post-build steps to perform on Debug and Release builds. I am trying to do the same thing in C#.NET 2003, but it appears as though I only...
6
by: Marco Zapletal | last post by:
hi list, i have an c# project, which contains some additional classes (nunit testclasses), which are not needed in a release build? is it possible to exclude them in the release build process? ...
3
by: | last post by:
Hi, I have a VC7++ VS2003 program that uses CRecordSet to write one record to a SQLAnywhere database via ODBC, a Code Sniplet is contained below, on most machine running the same OS and Build...
3
by: michael.lang | last post by:
I am using PostBuild events in a C# project to run some tasks, but only when in release configuration mode. The build events run perfectly as expected when run. The problem comes when I save the...
4
by: andy6 via DotNetMonster.com | last post by:
I am in VS2005 Configuration Manager and have selected from the Active Solution Configuration "release". The deployment project and a supporting c# dll project both switch to release, however the...
5
by: graham.king | last post by:
Hi, I was wondering if it is possible to build all projects in a VS.net solution from the command line without having to open the solution and tick every project in the configuration manage? ...
0
by: Darrin Thompson | last post by:
I've been trying to build pyOpenSSL on Windows with Visual Studio 2003. I've hit the message below: building 'OpenSSL.SSL' extension creating build\temp.win32-2.5\Release\src\ssl C:\Program...
0
by: Jack | last post by:
Since I don't have VS2003, I'm trying to build cjson with MingW and Cygwin but I'm getting lots of errors like these: build\temp.win32-2.5\Release\cjson.o(.text+0x8e):cjson.c: undefined...
2
by: Dave Johansen | last post by:
I just converted a solution from Visual Studio 2003 to Visual Studio 2005 and the Debug mode seems to be running just fine, but the Release mode crashes on the following code: std::ifstream...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.