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

debugging httphandlers

Hi,

I've done the following but am failing to reach breakpoints in the code for
my httphandlers:

1. in VS created a breakpoint on the first line of code in the method
ProcessRequest.

2. In that same solution space, created a web application.

3. copied the debug version of the httphandler dll to the bin dir of the web
app

4. attached to process aspnet_wp.exe, chosen clr and script as the types of
program to debug.

5. created a debug version of the web app, ran it in debug mode, it never
reaches the breakpoint.

What am I doing wrong?

Thanks.
-Shefali
Nov 19 '05 #1
1 1228
ok, some more, and I could debug my handlers!

1. launch just-in-time debugging by adding the following code as the first
line of code in rocessRequest:

System.Diagnostics.Debugger.Launch();

2. ran program, got an access denied error. searched MSDN for 'just-in-time
debugging errors', and found instructions to add ASPNET to the debuggers
group.

-Shefali

"shefali" wrote:
Hi,

I've done the following but am failing to reach breakpoints in the code for
my httphandlers:

1. in VS created a breakpoint on the first line of code in the method
ProcessRequest.

2. In that same solution space, created a web application.

3. copied the debug version of the httphandler dll to the bin dir of the web
app

4. attached to process aspnet_wp.exe, chosen clr and script as the types of
program to debug.

5. created a debug version of the web app, ran it in debug mode, it never
reaches the breakpoint.

What am I doing wrong?

Thanks.
-Shefali

Nov 19 '05 #2

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

Similar topics

0
by: some guy with a computer | last post by:
I can not get a custom httpHandler to fire using machine.config and an assembly in the GAC. It will not work if I move the assembly to the GAC, even though I have it referenced correctly and add...
0
by: some guy with a computer | last post by:
I can not get a custom httpHandler to fire using machine.config and an assembly in the GAC. It will not work if I move the assembly to the GAC, even though I have it referenced correctly and add...
0
by: Chance Hopkins | last post by:
Does anyone know how to get a custom httpHandler to fire for all applications in machine.config for an assembly in the GAC, without using seperate location tags? For instance, this works for a...
5
by: Anonieko | last post by:
HttpHandlers - Learn Them. Use Them. Introduction There are many features in ASP.NET that are unfortunately underused. Sometimes a feature gets looked over because it's too complicated....
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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.