设断点调试时为什么总是报”当前不会命中断点,还没有为该文档加载任何符号“?

sunflow 2003-01-08 05:41:22
看标题!
...全文
216 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
sunflow 2003-01-09
  • 打赏
  • 举报
回复
莫明其妙的又可以调试了,
唉,怎么给大家散分呢,答者都给还是只给一个好?
Ronnin 2003-01-09
  • 打赏
  • 举报
回复
需要调试的部分可能是个client端的代码,因为可能是Client端代码,所以要调试ASP.Net可以参照如下内容。
To install the sample applications
1. Download DebuggingWalkthroughs.msi from http://www.microsoft.com/downloads
/release.asp?ReleaseID=44273
2. Double-click DebuggingWalkthroughs.msi to start the .NET Debugging
Walkthroughs Setup Wizard and then follow the instructions to complete
the wizard.
To build the sample applications
1. Start Visual Studio .NET, and then open Debugging.sln from
C:\Inetpub\wwwroot\Debugging. This opens both the DebuggingCOM and
DebuggingWeb applications.
2. On the Build menu, click Configuration Manager.
3. In the Configuration Manager dialog box, change the Active Solution Configuration
to Release, and then click Close.
4. On the Build menu, click Build Solution.
To create folders for the debuggers
In Windows Explorer, create the following folders:
C:\Debuggers
C:\Debuggers\ZipFiles
C:\Debuggers\SOS
C:\Debuggers\AllocProf
C:\Symbols\DebuggingLabs
To install the Debugging Tools for Windows toolkit
1. Download the Debugging Tools for Windows toolkit from the Microsoft
Web site at http://www.microsoft.com/ddk/debugging/.
2. Double-click Dbg_x86_6.0.17.0.exe.
3. On the Welcome to the Debugging Tools for Windows Setup Wizard page,
click Next.
4. On the End-User License Agreement page, if you agree with the terms and
conditions, click I agree, and then click Next.
Production Debugging for .NET Framework Applications 14
5. On the User Information page, enter your details, and then click Next.
6. On the Select an Installation Type page, click Custom, and then click Next.
7. On the Select an Installation Location page, change the path to C:\Debuggers,
and then click Next.
8. On the Custom Installation page, click Next.
9. On the Begin Update page, click Next.
10. On the Completing the Debugging Tools for Windows Setup Wizard page,
click Finish.
To install additional tools
1. Download SOS.zip, SieExtPub.zip, and ADPlus_Scripts.zip from
http://www.microsoft.com/downloads/release.asp?ReleaseID=44274 to
C:\Debuggers\ZipFiles.
2. Extract the contents of SOS.zip to C:\Debuggers\SOS.
3. Extract the contents of SieExtPub.zip to C:\Debuggers\SOS.
4. Extract the contents of ADPlus_Scripts.zip to C:\Debuggers.
5. Download the current version of the Allocation Profiler from the Microsoft .NET
Framework Community Web site at http://www.gotdotnet.com/userarea
/keywordsrch.aspx?keyword=allocation%20profiler.
6. Extract the contents of AllocationProfiler.zip to C:\Debuggers\AllocProf.
sunflow 2003-01-09
  • 打赏
  • 举报
回复
设置中断的地方一定被运行过的,编译选项也是为Debug
我的解决方案有多个项目,唯独这一个Web项目无法设置中断。配置管理器的设置也仔细看过了,都是Debug的,
为什么不能中断呢?
TheAres 2003-01-08
  • 打赏
  • 举报
回复
把编译选项设置为"Release"就会这样,因为不产出调试信息.
设置为"Debug"(在工具栏上有).
ai0ai 2003-01-08
  • 打赏
  • 举报
回复
是不是你要加中断的这个函数没有被调用过?于是编译无效,你在那个函数里面设断点就报错了。

111,125

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Creator Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧