断点 [英] Break point

查看:55
本文介绍了断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我正在尝试调试一些代码(同时学习.net)并且我输入了

一些断点。


我很惊讶发现代码没有停止。

在进一步检查时,我注意到Break Line插入了一个?。在代码运行后的边距中的

点。

工具提示说

"断点当前不会被击中。这个文件没有加载符号




这是什么意思?


Doug

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

推荐答案

嗨Doug,


我假设您在ASP.NET页面中遇到此问题。

当调试ASP.net时,你经常会看到这个错误。断点设置为
,但它声称它不会被击中。通常这是因为当时没有运行代码

。一旦你实际处于页面请求的循环中,

断点应该正常工作。这是正常的。行为。


希望这会对你有所帮助。


谢谢

Raghavendra


Doug Bell <挖@的BigPond>在消息中写道

新闻:eh ************* @ TK2MSFTNGP12.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...
您好我正在尝试调试一点代码(同时学习.net)我输入了一些断点。

我惊讶地发现代码没有停止。
进一步检查我注意到Break Line插入了一个?。在代码运行后的边距中的
点。
工具提示说
破裂点目前不会被击中。这个文件没有加载符号


这是什么意思?

道格
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



嗨Raghavendra,

不,不是ASP。它是一个用VB编写的Windows应用程序.Net


点,并将光标放在上面,显示工具提示

的消息。该消息仅在我启动应用程序后出现

并且断点肯定不起作用。


当我关闭表单时,我有一个消息框询问用户他们是否想要保存任何更改。即使没有任何更改,消息框也会打开,我想要找出原因,但代码没有停止。


Doug


" Raghavendra T V" < RA ***** @ hotmail.com>在消息中写道

新闻:或************** @ TK2MSFTNGP11.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...
嗨道格,

我假设你在ASP.NET页面中遇到这个问题。
当调试ASP.net时,你经常会看到这个错误。断点设置
但它声称它不会受到打击。通常这是因为当时没有运行代码。一旦你实际处于页面
请求的循环中,断点应该正常工作。这是正常的。行为。

希望这会对你有所帮助。

谢谢
Raghavendra

道格贝尔 <挖@的BigPond>在消息中写道
新闻:eh ************* @ TK2MSFTNGP12.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...
您好我正在尝试调试一些代码(在学习.net的时候)我输入了一些断点。

我很惊讶地发现代码没有停止。
在进一步检查时我注意到了Break Line插入了一个?。在
代码运行后的边距中的点。
工具提示说
破裂点目前不会被击中。没有加载符号
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


这个文件。

这是什么意思?

道格
this document."

What does this mean?

Doug




这是一个发布版本还是调试版本?


道格贝尔写道:
Is this a Release or Debug build?

"Doug Bell" wrote:
嗨Raghavendra,
不,不是ASP。它是用VB编写的Windows应用程序。

我可以设置断点但是当我运行代码时,我看到?在左边缘的棕色
点上,将光标放在上面,显示工具提示和消息。该消息仅在我启动应用程序后才出现
并且断点肯定不起作用。

当我关闭表单时,我有一个消息框询问用户是否要
保存任何更改。消息框即使没有变化也会打开,我正在试图找出原因,但代码并没有停止。

道格

Raghavendra T V < RA ***** @ hotmail.com>在消息中写道
新闻:或************** @ TK2MSFTNGP11.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...
嗨道格,

我假设您在ASP.NET页面中遇到此问题。
当调试ASP.net时,您经常会看到此错误。断点设置
但它声称它不会受到打击。通常这是因为当时没有运行代码。一旦你实际进入页面循环
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


请求,

断点应该正常工作。这是正常的。行为。

希望这会对你有所帮助。

谢谢
Raghavendra

道格贝尔 <挖@的BigPond>在消息中写道
新闻:eh ************* @ TK2MSFTNGP12.phx.gbl ...
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...
您好我正在尝试调试一些代码(在学习.net的时候)我输入了一些断点。

我很惊讶地发现代码没有停止。
在进一步检查时我注意到了Break Line插入了一个?。在代码运行后的边距中的点。
工具提示说
破裂点目前不会被击中。没有加载符号
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


这个文件。

这是什么意思?

道格
this document."

What does this mean?

Doug





这篇关于断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆