473,385 Members | 2,162 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,385 software developers and data experts.

Suddenly Debugging Won't Work?

Hi:

I'm working away on my VB.NET web application and suddenly I find that I
can't set breakpoints for debugging any longer - I should say that I can
set them and that they are ignored.

I've checked all the obvious things - If anyone has any ideas as to
what's wrong I would appreciate hearing!

Thanks very much!

Fred
Nov 21 '05 #1
14 1760
are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...
Hi:

I'm working away on my VB.NET web application and suddenly I find that I
can't set breakpoints for debugging any longer - I should say that I can
set them and that they are ignored.

I've checked all the obvious things - If anyone has any ideas as to what's
wrong I would appreciate hearing!

Thanks very much!

Fred

Nov 21 '05 #2
Brian:

Yes - I am in debugging mode - both the project and the debug button
show. Also, my other projects are all working fine - just this one that
ignores all break points.

Thanks,

Fred

Brian Henry wrote:
are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...
Hi:

I'm working away on my VB.NET web application and suddenly I find that I
can't set breakpoints for debugging any longer - I should say that I can
set them and that they are ignored.

I've checked all the obvious things - If anyone has any ideas as to what's
wrong I would appreciate hearing!

Thanks very much!

Fred


Nov 21 '05 #3
what type of project is it? web, class lib, smart device, winforms?
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...
Brian:

Yes - I am in debugging mode - both the project and the debug button show.
Also, my other projects are all working fine - just this one that ignores
all break points.

Thanks,

Fred

Brian Henry wrote:
are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...
Hi:

I'm working away on my VB.NET web application and suddenly I find that I
can't set breakpoints for debugging any longer - I should say that I can
set them and that they are ignored.

I've checked all the obvious things - If anyone has any ideas as to
what's wrong I would appreciate hearing!

Thanks very much!

Fred



Nov 21 '05 #4
whoops sorry, didnt realize it said web app in your first post... in your
web.config is debug = "true" or "false"? if it is false then it will ignore
break points
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:uM*************@TK2MSFTNGP09.phx.gbl...
what type of project is it? web, class lib, smart device, winforms?
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...
Brian:

Yes - I am in debugging mode - both the project and the debug button
show. Also, my other projects are all working fine - just this one that
ignores all break points.

Thanks,

Fred

Brian Henry wrote:
are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...

Hi:

I'm working away on my VB.NET web application and suddenly I find that I
can't set breakpoints for debugging any longer - I should say that I can
set them and that they are ignored.

I've checked all the obvious things - If anyone has any ideas as to
what's wrong I would appreciate hearing!

Thanks very much!

Fred

Nov 21 '05 #5
Hi Brian:

My project is a VB.NET Web Application.

Thanks,

Fred

Brian Henry wrote:
what type of project is it? web, class lib, smart device, winforms?
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...
Brian:

Yes - I am in debugging mode - both the project and the debug button show.
Also, my other projects are all working fine - just this one that ignores
all break points.

Thanks,

Fred

Brian Henry wrote:
are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...
Hi:

I'm working away on my VB.NET web application and suddenly I find that I
can't set breakpoints for debugging any longer - I should say that I can
set them and that they are ignored.

I've checked all the obvious things - If anyone has any ideas as to
what's wrong I would appreciate hearing!

Thanks very much!

Fred

Nov 21 '05 #6
Brian:

Yes - Debug is ste to "true" in the web.config and I'm running in debug
mode. I set break points in the code and they are COMPLETELY ignored -
very strange.

I'm thinking I might create a new project - copy all the code - and add
each page as an existing item to a new project if I don't find something
soon!?

I've been working with .NET for a year and I have never had this problem
until tonight!

Thanks so much again!

Fred

Brian Henry wrote:
whoops sorry, didnt realize it said web app in your first post... in your
web.config is debug = "true" or "false"? if it is false then it will ignore
break points
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:uM*************@TK2MSFTNGP09.phx.gbl...
what type of project is it? web, class lib, smart device, winforms?
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...
Brian:

Yes - I am in debugging mode - both the project and the debug button
show. Also, my other projects are all working fine - just this one that
ignores all break points.

Thanks,

Fred

Brian Henry wrote:

are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...
>Hi:
>
>I'm working away on my VB.NET web application and suddenly I find that I
>can't set breakpoints for debugging any longer - I should say that I can
>set them and that they are ignored.
>
>I've checked all the obvious things - If anyone has any ideas as to
>what's wrong I would appreciate hearing!
>
>Thanks very much!
>
>Fred


Nov 21 '05 #7
Try restarting the server.

--
Eduardo A. Morcillo [MS MVP VB]
http://www.mvps.org/emorcillo
Nov 21 '05 #8
Eduardo:

I tried that - same thing!

Also, I have noticed that if I click a breakpoint I get the usual "red
dot" on the left side of the code window. When I run the program in
debug mode the line disapears and the break is ignored. When I
terminate the program the dot reappears.

I have tried many forms in the same project - I can't set a break anywhere.

If you have any ideas they will be greatly appreciated! Its Monday!

Thanks,

Fred
Eduardo A. Morcillo [MS MVP VB] wrote:
Try restarting the server.

Nov 21 '05 #9
Eduardo:

If it helps to figure this out - I created a new VB.NET web app and
copied one of my pages to it. Debugging works just fine for that page
in the new application - so there must be some setting somewhere that
prevents debugging.

Thanks,

Fred

Eduardo A. Morcillo [MS MVP VB] wrote:
Try restarting the server.

Nov 21 '05 #10
md
I didn't see the beginning of this thread, so this might have been mentioned
before. If so, sorry. Is the Solution Configuration combo on the toolbar set
to Release? If it is, then you won't be able to debug. Set it to Debug and
that should fix the problem. If this was already mentioned, then just ignore
this message.

Matt
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Eduardo:

I tried that - same thing!

Also, I have noticed that if I click a breakpoint I get the usual "red
dot" on the left side of the code window. When I run the program in
debug mode the line disapears and the break is ignored. When I
terminate the program the dot reappears.

I have tried many forms in the same project - I can't set a break anywhere.
If you have any ideas they will be greatly appreciated! Its Monday!

Thanks,

Fred
Eduardo A. Morcillo [MS MVP VB] wrote:
Try restarting the server.

Nov 21 '05 #11
Matt:

YOU ARE MY HERO!

I would swear that I checked that a dozen times last night - I took
another look and while the "active solution" was set to debug, the
project was indeed set to "release".

Changing the project setting has caused debug to work just fine once again!

Thanks VERY VERY much!

Fred

md wrote:
I didn't see the beginning of this thread, so this might have been mentioned
before. If so, sorry. Is the Solution Configuration combo on the toolbar set
to Release? If it is, then you won't be able to debug. Set it to Debug and
that should fix the problem. If this was already mentioned, then just ignore
this message.

Matt
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Eduardo:

I tried that - same thing!

Also, I have noticed that if I click a breakpoint I get the usual "red
dot" on the left side of the code window. When I run the program in
debug mode the line disapears and the break is ignored. When I
terminate the program the dot reappears.

I have tried many forms in the same project - I can't set a break


anywhere.
If you have any ideas they will be greatly appreciated! Its Monday!

Thanks,

Fred
Eduardo A. Morcillo [MS MVP VB] wrote:
Try restarting the server.


Nov 21 '05 #12
M
I have same experince and just reload the project then It stops at
breakpoints again

"Fred Nelson" <fr**@smartybird.com> wrote in message
news:OY*************@TK2MSFTNGP12.phx.gbl...
Hi Brian:

My project is a VB.NET Web Application.

Thanks,

Fred

Brian Henry wrote:
what type of project is it? web, class lib, smart device, winforms?
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...
Brian:

Yes - I am in debugging mode - both the project and the debug button show.Also, my other projects are all working fine - just this one that ignoresall break points.

Thanks,

Fred

Brian Henry wrote:

are you in debug mode? because they will be ignored in release mode...
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:eL*************@TK2MSFTNGP11.phx.gbl...
>Hi:
>
>I'm working away on my VB.NET web application and suddenly I find that I>can't set breakpoints for debugging any longer - I should say that I can>set them and that they are ignored.
>
>I've checked all the obvious things - If anyone has any ideas as to
>what's wrong I would appreciate hearing!
>
>Thanks very much!
>
>Fred

Nov 21 '05 #13
ah so it was what i thought it might be :)
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:Oo**************@tk2msftngp13.phx.gbl...
Matt:

YOU ARE MY HERO!

I would swear that I checked that a dozen times last night - I took
another look and while the "active solution" was set to debug, the project
was indeed set to "release".

Changing the project setting has caused debug to work just fine once
again!

Thanks VERY VERY much!

Fred

md wrote:
I didn't see the beginning of this thread, so this might have been
mentioned
before. If so, sorry. Is the Solution Configuration combo on the toolbar
set
to Release? If it is, then you won't be able to debug. Set it to Debug
and
that should fix the problem. If this was already mentioned, then just
ignore
this message.

Matt
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Eduardo:

I tried that - same thing!

Also, I have noticed that if I click a breakpoint I get the usual "red
dot" on the left side of the code window. When I run the program in
debug mode the line disapears and the break is ignored. When I
terminate the program the dot reappears.

I have tried many forms in the same project - I can't set a break


anywhere.
If you have any ideas they will be greatly appreciated! Its Monday!

Thanks,

Fred
Eduardo A. Morcillo [MS MVP VB] wrote:

Try restarting the server.



Nov 21 '05 #14
Brian:

Yes - you are a HERO also - I was not aware that the "release/debug"
could be set on the run button. I had checked the project settings and
it looked fine to me.

This is a lesson I will never forget!

Thanks for your help!!!

Fred

Brian Henry wrote:
ah so it was what i thought it might be :)
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:Oo**************@tk2msftngp13.phx.gbl...
Matt:

YOU ARE MY HERO!

I would swear that I checked that a dozen times last night - I took
another look and while the "active solution" was set to debug, the project
was indeed set to "release".

Changing the project setting has caused debug to work just fine once
again!

Thanks VERY VERY much!

Fred

md wrote:
I didn't see the beginning of this thread, so this might have been
mentioned
before. If so, sorry. Is the Solution Configuration combo on the toolbar
set
to Release? If it is, then you won't be able to debug. Set it to Debug
and
that should fix the problem. If this was already mentioned, then just
ignore
this message.

Matt
"Fred Nelson" <fr**@smartybird.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl. ..
Eduardo:

I tried that - same thing!

Also, I have noticed that if I click a breakpoint I get the usual "red
dot" on the left side of the code window. When I run the program in
debug mode the line disapears and the break is ignored. When I
terminate the program the dot reappears.

I have tried many forms in the same project - I can't set a break

anywhere.
If you have any ideas they will be greatly appreciated! Its Monday!

Thanks,

Fred
Eduardo A. Morcillo [MS MVP VB] wrote:
>Try restarting the server.
>

Nov 21 '05 #15

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

Similar topics

4
by: Corepaul | last post by:
I am working in Windows 2000 and Access 2000 and am a rookie in Access. Coding merrily along, I stop periodically to test that everything works. After adding a small amount of code to several...
2
by: Johann Blake | last post by:
I can hardly believe I'm the first one to report this, but having gone through the newsgroup, it appears that way. I would like to open a solution in the VS.NET IDE that consists of multiple...
12
by: melanieab | last post by:
Hi, I have a button that, when clicked, saves all the info entered. It worked fine until suddenly it didn't, and I have no idea why. I get the error An unhandled exception of type...
1
by: Feng | last post by:
Hi, I am trying to debug an asp.net application problem: From time to time, the aspnet_wp process running on our web server suddenly goes up to 99% of CPU usage and since the app supports may...
6
by: Brian Bischof | last post by:
I'm having troubles getting the debugging process to work consistenly for external classes. I got it to work once and then I turned it off. But now I can't get re-enabled. Here is what I'm doing....
0
by: vardium | last post by:
Hello, I have a problem on VS 2005 asp.net development server. When I am trying to debug the application, I attach to the "WebDev.WebServer.EXE" process. There is no problem until here. I can...
6
by: Pieter | last post by:
Hi, I developed an Outlook Add In (VB.NET 2005, for Outlook 2003) that sometimes suddenly stops loading. I've put everywhere in the code Exception Handlers, but no Exception is catched. it...
5
by: rn5a | last post by:
Can someone please suggest me a text editor especially for DEBUGGING ASP scripts apart from Microsoft Visual Interdev? I tried using Visual Interdev & created a project but Interdev generates...
4
by: dbee | last post by:
Right. I've got a really, really annoying/difficult/time consuming problem with my development environment. I'm using django to build a web app with paypal integration. My server is hosted...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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
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...

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.