mscorlib.pdb未加载 [英] mscorlib.pdb not loaded

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

问题描述

我正在尝试调试Silverlight应用,并在输出窗口中出现以下错误:

I'm trying to debug a Silverlight app and am getting the following error in the output window:

System.Windows.Data错误:ConvertBack无法转换值"(类型为'System.String'). BindingExpression:路径='Wl_Section'数据项='d54050d6-2ffb-4e37-9006-d1d3b7f2d1e8;错误的;真的; ; ; ; ; ;生命值; ; ; ; ; ; ; SESE; 33; 156; ; 94; ; ; ; ; ; GTR;  ' (HashCode = 51821710);目标元素是'Infragistics.Controls.Grids.Cell + CellValueObject'(Name ='');目标属性为值"(类型为"System.Object").System.FormatException:输入字符串的格式不正确.

System.Windows.Data Error: ConvertBack cannot convert value '' (type 'System.String'). BindingExpression: Path='Wl_Section' DataItem='d54050d6-2ffb-4e37-9006-d1d3b7f2d1e8; False; True; ; ; ; ; ; HP; ; ; ; ; ; ; SESE; 33; 156; ; 94; ; ; ; ; ; GTR;  ' (HashCode=51821710); target element is 'Infragistics.Controls.Grids.Cell+CellValueObject' (Name=''); target property is 'Value' (type 'System.Object').. System.FormatException: Input string was not in a correct format.

,但是代码执行不会在我能找到问题的地方中断.取而代之的是,我弹出以下屏幕

but the code execution doesn't break where I can find the problem.  Instead I get the following screen that pops up

当我想调试某些东西时,经常会看到此屏幕.我已经对此进行了大量搜索,但都没有成功.我检查了Microsoft Symbol Server,但这也无济于事.知道如何找到错误值传递给代码的地方吗?

I often get this screen when I want to debug something.  I've done lots of searches on this with no success.  I checked the Microsoft Symbol Server but that didn't help either.  Any idea how I can find where my code is passing in a bad value?

谢谢.

推荐答案

moondaddy,

Hi moondaddy,

您能否在本地计算机上找到pdb文件?

Could you find the pdb file in your local machine?

我刚刚遇到了与内部.NET Framework大会有关的问题.

I just met this issue with was related to the Internal .NET Framework Assembly.

参考:

https://social.msdn.microsoft.com/Forums/zh-CN/0af48bab-5258-44da-93e8-35803d80a0aa/mscorlibpdb-not-availablefound?forum=refsourceserver

1)在工具"->下;选项->调试->常规禁用仅我的代码"并启用源服务器支持.

1) Under Tools-> Options->Debugging->General Disable Just My Code and Enable Source Server Support.

2)在工具"->选项"->调试"->符号"下,添加 http://msdl.microsoft.com/download/symbols 添加 http://referencesource.microsoft.com/symbols ,请再次检查.

2) Under Tools->Options->Debugging->Symbols, add http://msdl.microsoft.com/download/symbols add http://referencesource.microsoft.com/symbols, check it again.

最好的问候,

Jack


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

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