473,396 Members | 2,039 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.

Break point

Hi I am trying to debug a bit of code (while learning .net) and I put in
some break points.

I was surprised to find that the code didn't halt.
On further inspection I noticed that the Break Line inserted a "?" in the
dot in the margin after the code ran.
The "Tool-Tip" says
"The break point will not currently be hit. No symbols have been loaded for
this document."

What does this mean?

Doug
Jul 21 '05 #1
8 3052
Hi Doug,

I assume that you have this problem in an ASP.NET page.
When debuggin ASP.net you'll often see this error. The breakpoint is set
but it claims it won't be hit. Typically this is because there is no code
running at the time. Once you actually are in the cycle of a page request,
the breakpoints should work normally. This is "normal" behavior.

Hope this helps you.

Thanks
Raghavendra

"Doug Bell" <dug@bigpond> wrote in message
news:eh*************@TK2MSFTNGP12.phx.gbl...
Hi I am trying to debug a bit of code (while learning .net) and I put in
some break points.

I was surprised to find that the code didn't halt.
On further inspection I noticed that the Break Line inserted a "?" in the
dot in the margin after the code ran.
The "Tool-Tip" says
"The break point will not currently be hit. No symbols have been loaded for this document."

What does this mean?

Doug

Jul 21 '05 #2
Hi Raghavendra,
No it is not ASP. It is a Windows Application written in VB .Net

I can set the Breakpoint but when I run the code, I see the "?" in the brown
dot in the left margin and holding the cursor over it shows the tool tip
with the message. That message is only present after I start the application
and the breakpoint definitely doesn't work.

When I close the form I have a message box asking the User if they want to
save any changes. The message box is openning even if no changes and I am
trying to find out why but the code doesn't halt.

Doug

"Raghavendra T V" <ra*****@hotmail.com> wrote in message
news:Or**************@TK2MSFTNGP11.phx.gbl...
Hi Doug,

I assume that you have this problem in an ASP.NET page.
When debuggin ASP.net you'll often see this error. The breakpoint is set
but it claims it won't be hit. Typically this is because there is no code
running at the time. Once you actually are in the cycle of a page request, the breakpoints should work normally. This is "normal" behavior.

Hope this helps you.

Thanks
Raghavendra

"Doug Bell" <dug@bigpond> wrote in message
news:eh*************@TK2MSFTNGP12.phx.gbl...
Hi I am trying to debug a bit of code (while learning .net) and I put in
some break points.

I was surprised to find that the code didn't halt.
On further inspection I noticed that the Break Line inserted a "?" in the dot in the margin after the code ran.
The "Tool-Tip" says
"The break point will not currently be hit. No symbols have been loaded

for
this document."

What does this mean?

Doug


Jul 21 '05 #3
Is this a Release or Debug build?

"Doug Bell" wrote:
Hi Raghavendra,
No it is not ASP. It is a Windows Application written in VB .Net

I can set the Breakpoint but when I run the code, I see the "?" in the brown
dot in the left margin and holding the cursor over it shows the tool tip
with the message. That message is only present after I start the application
and the breakpoint definitely doesn't work.

When I close the form I have a message box asking the User if they want to
save any changes. The message box is openning even if no changes and I am
trying to find out why but the code doesn't halt.

Doug

"Raghavendra T V" <ra*****@hotmail.com> wrote in message
news:Or**************@TK2MSFTNGP11.phx.gbl...
Hi Doug,

I assume that you have this problem in an ASP.NET page.
When debuggin ASP.net you'll often see this error. The breakpoint is set
but it claims it won't be hit. Typically this is because there is no code
running at the time. Once you actually are in the cycle of a page

request,
the breakpoints should work normally. This is "normal" behavior.

Hope this helps you.

Thanks
Raghavendra

"Doug Bell" <dug@bigpond> wrote in message
news:eh*************@TK2MSFTNGP12.phx.gbl...
Hi I am trying to debug a bit of code (while learning .net) and I put in
some break points.

I was surprised to find that the code didn't halt.
On further inspection I noticed that the Break Line inserted a "?" in the dot in the margin after the code ran.
The "Tool-Tip" says
"The break point will not currently be hit. No symbols have been loaded

for
this document."

What does this mean?

Doug



Jul 21 '05 #4
Doug,

Just when you set your breakpoint on a Dim or other declaration that has no
code in it.

Dim Doug as String 'here you can not set a breakpoint
Dim Doub as String = "Doug" here you can set a breakpoint.

I hope this helps?

Cor
Jul 21 '05 #5
Hi Doug,

Check this thread.

http://www.dotnet247.com/247referenc...32/162031.aspx

Hope this solves your problem

Thanks
Raghavendra
"Doug Bell" <dug@bigpond> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi Raghavendra,
No it is not ASP. It is a Windows Application written in VB .Net

I can set the Breakpoint but when I run the code, I see the "?" in the brown dot in the left margin and holding the cursor over it shows the tool tip
with the message. That message is only present after I start the application and the breakpoint definitely doesn't work.

When I close the form I have a message box asking the User if they want to
save any changes. The message box is openning even if no changes and I am
trying to find out why but the code doesn't halt.

Doug

"Raghavendra T V" <ra*****@hotmail.com> wrote in message
news:Or**************@TK2MSFTNGP11.phx.gbl...
Hi Doug,

I assume that you have this problem in an ASP.NET page.
When debuggin ASP.net you'll often see this error. The breakpoint is set
but it claims it won't be hit. Typically this is because there is no code running at the time. Once you actually are in the cycle of a page

request,
the breakpoints should work normally. This is "normal" behavior.

Hope this helps you.

Thanks
Raghavendra

"Doug Bell" <dug@bigpond> wrote in message
news:eh*************@TK2MSFTNGP12.phx.gbl...
Hi I am trying to debug a bit of code (while learning .net) and I put in some break points.

I was surprised to find that the code didn't halt.
On further inspection I noticed that the Break Line inserted a "?" in the dot in the margin after the code ran.
The "Tool-Tip" says
"The break point will not currently be hit. No symbols have been

loaded for
this document."

What does this mean?

Doug



Jul 21 '05 #6
Hi Doug,

Check this thread.

http://www.dotnet247.com/247referenc...32/162031.aspx

Hope this solves your problem

Thanks
Raghavendra

"Doug Bell" <dug@bigpond> wrote in message
news:eh*************@TK2MSFTNGP12.phx.gbl...
Hi I am trying to debug a bit of code (while learning .net) and I put in
some break points.

I was surprised to find that the code didn't halt.
On further inspection I noticed that the Break Line inserted a "?" in the
dot in the margin after the code ran.
The "Tool-Tip" says
"The break point will not currently be hit. No symbols have been loaded for this document."

What does this mean?

Doug

Jul 21 '05 #7

Hi Raghavendra
Thanks, I followed the link:
http://www.dotnet247.com/247referenc...32/162031.aspx

and solved the problem.

I don't quite understand what the problem was or the difference between a
Release and Debug.
I had been looking at the Properties and Configuration settings of the
project and must have changed the setting for "Active Solution
Configuration" from Debug to Release.

Thank you for your assistance.

Doug
Jul 21 '05 #8
Do you have the contents of the /bin/debug directory stored in VSS or
another version control system? If so, are all the DLL and PDB files
checked out before you compile? Visual studio won't check out the contents
of the /bin/debug directories before the compile takes place, but if these
files are in VSS and not checked out, then the compiler cannot overwrite the
old PDB file with a new one. Therefore, the debugger cannot load the
symbols and debugging stops working.

My suggestion, don't put the PDB file into version control.

I don't know if this will help. The other responders seem to have hit on
all the other solutions I would have thought of. This is the only red
herring that I thought they missed.

Good Luck,
--- Nick

"Doug Bell" <dug@bigpond> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi Raghavendra,
No it is not ASP. It is a Windows Application written in VB .Net

I can set the Breakpoint but when I run the code, I see the "?" in the brown dot in the left margin and holding the cursor over it shows the tool tip
with the message. That message is only present after I start the application and the breakpoint definitely doesn't work.

When I close the form I have a message box asking the User if they want to
save any changes. The message box is openning even if no changes and I am
trying to find out why but the code doesn't halt.

Doug

"Raghavendra T V" <ra*****@hotmail.com> wrote in message
news:Or**************@TK2MSFTNGP11.phx.gbl...
Hi Doug,

I assume that you have this problem in an ASP.NET page.
When debuggin ASP.net you'll often see this error. The breakpoint is set
but it claims it won't be hit. Typically this is because there is no code running at the time. Once you actually are in the cycle of a page

request,
the breakpoints should work normally. This is "normal" behavior.

Hope this helps you.

Thanks
Raghavendra

"Doug Bell" <dug@bigpond> wrote in message
news:eh*************@TK2MSFTNGP12.phx.gbl...
Hi I am trying to debug a bit of code (while learning .net) and I put in some break points.

I was surprised to find that the code didn't halt.
On further inspection I noticed that the Break Line inserted a "?" in the dot in the margin after the code ran.
The "Tool-Tip" says
"The break point will not currently be hit. No symbols have been

loaded for
this document."

What does this mean?

Doug



Jul 21 '05 #9

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

Similar topics

2
by: Kevin | last post by:
I am running the web app I created and I set a break point in the VB. The code where I set the break point is executing properly, but .NET won't stop the flow. Is this just an option somewhere I...
0
by: James Fike | last post by:
Okay the wierdest thing has started happening to me. Everytime I use a MessageBox.Show in Debug Visual Studio breaks for a break point thats in the System.Windows.Forms.MessageBox.ShowCore...
26
by: Chris Potter | last post by:
Hello everyone. I am taking my first course in C and in one of my assignments i need to print out an array that could have anywhere from 0 to 100 positive integers in it (a negative integer is...
25
by: chunhui_true | last post by:
In <<expert c>>I know the break in if wich is scoped in switch is break the switch,like: switch c case 1: if(b){ break; } ...... But like this: while(a){
2
by: Fu Chen | last post by:
Hi! I have really weird break point. Look at my screen shoot http://www.mapsea.com/vs.jpg First break is normal and can stop when program run to that position. Second break show with a question...
1
by: Jim Heavey | last post by:
I have a couple of questions about break points. I have this one ASPX page which had a breakpoint set on a particular line and I am unable to get rid of it. If I look at the line in which the...
1
by: Rodger Dusatko | last post by:
In VB .NET I am having problems setting breaks. I want the break to be independant of any single function: for example: err.number or global variables When I try to set a break with the 'Data'...
2
by: ichor | last post by:
hi i want to add a conditional break in my vb.net code. like we could in vb6. for example if the counter = 10 then break at that point. kindly let me know if thats possible in vb.net Ichor
17
by: kevgibbo | last post by:
Hi, I'm currently having a problem where a long URL or a line of text with no spaces will break the design of a webpage, http:// blog.seoptimise.com/2007/01/how-to-add-delicious-and-digg-blog-...
12
by: Zytan | last post by:
Can I break the debugger into a worker thread? Right now, my app is freezing, and when I press pause, it stops on: Application.Run(new MyForm()); I don't know what that means. I know the...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
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
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...
0
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...

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.