473,395 Members | 1,677 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,395 software developers and data experts.

Given STOP in debug mode, but still completing the execution.

Hi,

I am having a method that handles the click event of a button on
the page. This method will also send an email. Sending email comes
after several lines of code in the method. I was testing upper part of
the method, so i kept a break point in the upper part. The code
execution comes to a break in that point. I examined the values and
clicked "stop debugging" i.e., well before calling send email. But
strangely it continued to send the mail.

To make sure the it is continuing to execute the code, I thrown an
exception just before send email is called. I repeated the above
process. This time no mail was sent, as well as there is no page to
show my exception, since "stop debugging" closes the page.

This test showing me that "stop debugging" is not actually
stopping the execution immediately.

Is this the only way a ASP.Net can work? i.e., Can't stop
execution immediately.

I am using Framework 1.1 and VS.Net 2003 on Windows XP Pro.

Thanks,
Saran.

Oct 18 '06 #1
0 1368

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

Similar topics

5
by: aaj | last post by:
Hi all I have written a small app on my machine that I have passed on to a colleague for testing. The problem is, as soon as he steps through in debug mode and reaches try { conn.Open();...
10
by: Bhavna Rohra | last post by:
Hello everyone, Sorry, it might sound easy for everyone but please if someone colud tell me how to debug my MFC application in Release mode. Thanks
1
by: Jim | last post by:
I have some complex (fairly) user controls that I have created. Some of those user controls host other user controls. When I host one of these on a WinForm, I sometimes run into problems where...
8
by: Matt Theule | last post by:
While stepping through an ASP.NET project, I found that data was being inserted into my database even though I was not stepping through the code that inserted the data. I have a single page with...
1
by: Jack Wright | last post by:
Dear All, I have observed that if I call a synchronous WebService from my aspx page then even if I set oProxy.TimeOut = 1000, the WebService thread execution is still running... Since my...
7
by: Srinivasa Rao | last post by:
I have read in one article that when we compile the application in release mode, all the debug classes and properties will be automatically removed from the code. I tried to implement this thing by...
9
by: Rea | last post by:
Hi eb I set some 'Stop' statements and also visual breakpoints in asp code (vbscript). I am doing that in Microsoft Script debugger. Than I refresh the original page and expect execution to halt...
7
by: tsmithcs | last post by:
I'm using Visual C++ 6.0 on Windows 2000/XP machines. I can't run this program in release mode because the libraries/dll are not compatiable with release mode. I've looked for new ones and can't...
0
by: dwivedialok13 | last post by:
I am trying to debug a SQL server 2005 SP in VS 2005. I understand that there are two types of debugging (actully 3 but I am ignoring SQL/ CLR SPs written in C# etc). 1. Direct database...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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...

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.