473,396 Members | 1,676 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.

IDE not breaking at breakpoint

When I run (F5) my web app and put a breakpoint on page load it won't
stop at the breakpoint! The code that's in the routine executes, but
..NET won't stop at the breakpoint!

It's driving me nuts. any help would be greatly appreciated. I am sure
it's an option/setting but I can't figure it out.
Jul 21 '05 #1
3 2389
Are you sure that you are in "debug mode" (as opposed to "release mode")?

Go to the "Build -> Configuration Manager" option in the menus. Make sure
the "Active Solution Configuration" is set to "Debug"

Debug Mode generates extra code that allows the IDE to debug your programs
easier. Release Mode removes this extra debugging code to make the program
more efficient when producing the final product.

There are a few other things that could cause this, so let me know if this
solves your problem.

Hope this helps,

Trev.

"Kevin" <kt******@yahoo.com> wrote in message
news:2d*************************@posting.google.co m...
When I run (F5) my web app and put a breakpoint on page load it won't
stop at the breakpoint! The code that's in the routine executes, but
.NET won't stop at the breakpoint!

It's driving me nuts. any help would be greatly appreciated. I am sure
it's an option/setting but I can't figure it out.

Jul 21 '05 #2
Yes, I have been in debug mode (in the configuration manager). I also
have not been running "start w/o debugging" (ctl+F5).

You said you might have more options? Please help. This is indeed
frustrating.

Thanks Trev,
Kevin

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #3
What kind of web app are you debugging? Asp.net, web services or a .net dll
that is used by the web app?

If you are debugging Asp.net, make sure you have the web server set up for
debugging:

1) Go to Control Panel>Administrative Tools>Computer Management>Services And
Applications>Internet Information Services

2) Right click web application and go to Properties

3) On the Directory Tab, click Configuration and go to the debugging tab.
Make sure Client side and server side debugging is on.

4) Go to the Directory security tab and edit the Anonymous Access and
Authentication control. Try disabling Anonymous access.

I've had problems with this in the past and it's been kinda hit and miss to
try and find out what's causing it.

If all else fails, try searching on http://groups.google.com for things like
"debug asp.net application" etc.

Sorry I can't be of more help.

Trev.

"Kevin Bach" <kt******@yahoo.com> wrote in message
news:uo**************@TK2MSFTNGP10.phx.gbl...
Yes, I have been in debug mode (in the configuration manager). I also
have not been running "start w/o debugging" (ctl+F5).

You said you might have more options? Please help. This is indeed
frustrating.

Thanks Trev,
Kevin

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Jul 21 '05 #4

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

Similar topics

3
by: PaulThomas | last post by:
I am working with Visual Studio .Net and XP-Pro. Why / What have I done that a breakpoint won't stop in debug? I have used the debug before and all went well? I have tried starting with Debug...
4
by: Wal Turner | last post by:
Consider the following simple class: public class ClassA { public static string VAR = "hello"; } public void MethodA() { while(true)
5
by: lawrencelee | last post by:
My purpose is to know which code reads value from a certain address. So I want to set a memory breakpoint and when cpu reads from the address, the breakpoint will be hit. But in the "Data breakpoint"...
2
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
5
by: One Handed Man [ OHM# ] | last post by:
Pressing Button2 does cause the breakpoint shown in Button1's handler to be active the first time. After stopping the program and restarting it it break as soon as you start Button1, Any ideas...
3
by: Kevin | last post by:
When I run (F5) my web app and put a breakpoint on page load it won't stop at the breakpoint! The code that's in the routine executes, but ..NET won't stop at the breakpoint! It's driving me...
5
by: Max2006 | last post by:
Hi, I am using Visual C# 2005 and I like to setup breakpoint that pause execution upon a class variable change. Is that possible?
1
by: ewokspy | last post by:
Working with Excel 2003, I have a worksheet that I programatically generate from another worksheet. On this worksheet are two events, a selection change event and worksheet_change event. The...
1
by: RLN | last post by:
I set a breakpoint and Access does not stop and show the code windoe for me to step through code. Here are three lines at the beginning of a button click event: - MsgBox "RLNTEST-made it to...
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: 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
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
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...

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.