473,666 Members | 2,367 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem with aspnet exiting

When trying to debug an ASP.NET project by placing a breakpoint in one of the
functions in the codebehind, VS correctly stops at the breakpoint, and I can
step through. But soon after, the process stops dead and can't be stepped
through anymore (even though there is no error) - I'm guessing that the
aspnet_wp.exe is detecting that if it's inactive for a period of n seconds or
so, then it exits until it gets another request.

Is there anyway of making it not do this, as it means I can only debug for a
maximum of about 20 seconds!
Nov 18 '05 #1
3 1509
Hi Bonj,

Do you see anything from ASP.NET in the Application log?

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
ASP.NET Developer Support
ja******@online .microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
| Thread-Topic: problem with aspnet exiting
| thread-index: AcTIAcbUsZqSE9k ISpOoVf8/0jMFaA==
| X-WBNR-Posting-Host: 193.130.149.130
| From: "=?Utf-8?B?Qm9uag==?=" <Bo**@discussio ns.microsoft.co m>
| Subject: problem with aspnet exiting
| Date: Thu, 11 Nov 2004 07:19:02 -0800
| Lines: 9
| Message-ID: <D3************ *************** *******@microso ft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups:
microsoft.publi c.dotnet.framew ork.aspnet,micr osoft.public.do tnet.languages. c
sharp
| NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.1.29
| Path: cpmsftngxa10.ph x.gbl!TK2MSFTNG XA03.phx.gbl
| Xref: cpmsftngxa10.ph x.gbl
microsoft.publi c.dotnet.langua ges.csharp:2859 95
microsoft.publi c.dotnet.framew ork.aspnet:2753 39
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| When trying to debug an ASP.NET project by placing a breakpoint in one of
the
| functions in the codebehind, VS correctly stops at the breakpoint, and I
can
| step through. But soon after, the process stops dead and can't be stepped
| through anymore (even though there is no error) - I'm guessing that the
| aspnet_wp.exe is detecting that if it's inactive for a period of n
seconds or
| so, then it exits until it gets another request.
|
| Is there anyway of making it not do this, as it means I can only debug
for a
| maximum of about 20 seconds!
|

Nov 18 '05 #2
So your browser is still open, yet the debugger stops?

The debugger usually stops as soon as you close the browser session.

Jeff

"Bonj" <Bo**@discussio ns.microsoft.co m> wrote in message
news:D3******** *************** ***********@mic rosoft.com...
When trying to debug an ASP.NET project by placing a breakpoint in one of the functions in the codebehind, VS correctly stops at the breakpoint, and I can step through. But soon after, the process stops dead and can't be stepped
through anymore (even though there is no error) - I'm guessing that the
aspnet_wp.exe is detecting that if it's inactive for a period of n seconds or so, then it exits until it gets another request.

Is there anyway of making it not do this, as it means I can only debug for a maximum of about 20 seconds!

Nov 18 '05 #3
> So your browser is still open, yet the debugger stops?

I've noticed it do that before, yes. Isn't doing at the moment though...
don't want to speak too soon, but touch wood it might not try any funny
business.

"Jeff Dillon" <je**@removeeme rgencyreporting .com> wrote in message
news:%2******** *******@TK2MSFT NGP11.phx.gbl.. .

The debugger usually stops as soon as you close the browser session.

Jeff

"Bonj" <Bo**@discussio ns.microsoft.co m> wrote in message
news:D3******** *************** ***********@mic rosoft.com...
When trying to debug an ASP.NET project by placing a breakpoint in one of

the
functions in the codebehind, VS correctly stops at the breakpoint, and I

can
step through. But soon after, the process stops dead and can't be stepped
through anymore (even though there is no error) - I'm guessing that the
aspnet_wp.exe is detecting that if it's inactive for a period of n
seconds

or
so, then it exits until it gets another request.

Is there anyway of making it not do this, as it means I can only debug
for

a
maximum of about 20 seconds!


Nov 18 '05 #4

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

Similar topics

1
953
by: fc | last post by:
hi, i'm having a problem using C#'s lock and windows2000's text to speech (vtext.dll) ... basically it looks like the callback from the TTS is violating C#'s lock, which looks very very suspicious. here are the particulars: i've made a form that has two buttons, one to "start speaking" and one to "cancel speaking", and i've registered the TTS's callback message "speech_recognized" to call my method axTextToSpeech1_SpeakingDone.
8
2388
by: Jeff | last post by:
Hello everybody, I was doing one of the exercises in the K&R book, and I got something really strange. Here's the source code: /* * Exercise 2-2 from the K&R book, page 42 */ #include <stdio.h>
2
3202
by: Vaap | last post by:
I did lot of googling to see if I can solve the SQL server not found problem while trying to run ASP.Net community starter kit from an XP machine to Windows 2003 server hosting SQL server 2000 database. Tried all possible combinations but it still fails. I have Windows 2003 server having SQL Server 2000 installed with SP2. The installation went Ok on a XP professional machine and I was able to create database and user logins etc on...
1
1609
by: Brian | last post by:
I have XP HOME installed on one of my 3 computers. I have WIN 2k Pro and XP Pro on each of the other two. ASPNET is not installed on these computers. For some reason ASPNET is showing up on the one with XP HOME. I do not recall how this could have happened. I would like to remove it from my computer... according to an ASPNETSetup.log I discovered it was installed a couple days ago. Can anyone out there help me with this?
7
5216
by: Ankit Aneja | last post by:
I put the code for url rewrite in my Application_BeginRequest on global.ascx some .aspx pages are in root ,some in folder named admin and some in folder named user aspx pages which are in user folder are using this code of url rewrite project is running completely fine on localhost but after uploading first page (http://emailware.net.temporary.domain.name/user/index.aspx) is fine but as i click 123 Easy-CD Ripper
4
1360
by: | last post by:
Here is an interesting one. Running asp.net 2.0 beta 2. I have a regular expression used in a regex validator that works on the client side in Firefox but not in IE. Any ideas? IE always reports the field is invalid. The expression is: ^(?!\d)(?=.*\d)(?=.*)(?=.*)(?=.*).{8,25}$ If I enter "Test_Field1" Firefox considers it valid on client side, IE doesnt. Server side considers it valid too because when I submit the form in
10
6860
by: greenb | last post by:
Our asp.net web app uses a .NET component (DLL) in the bin directory to call several stored procedures back to back to perform updates. They don't return any data. Sometimes the total execution time can take 2-3 minutes, but even though I have set the executionTimeout in web.config to a high number of seconds (2400), the request will still time out after 90 seconds. The user sees a Request timed out error. The app logs a ThreadAborted...
5
4078
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in both projects. Both controls(dlls) have been signed using SN.exe and I've set up the appropriate .Net assembly permissions using those Strong Names The DLL's have been copied to the /bin directory in both web virtual directories.
6
1546
by: weidongtom | last post by:
Hi, I was submitting a solution of a certain problem to the online judge, but it says my program is exceeding the time limit, I've been doing some tweaks to my codes but still it didn't get me through, so please help me out here. Thanks in advance. /* Input: A x y z num {to add num to array} or
0
8352
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8863
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8549
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7378
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6189
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4358
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2765
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.