首页 \ 问答 \ 发布模式下的Windbg不起作用(Windbg on release mode doesn't work)

发布模式下的Windbg不起作用(Windbg on release mode doesn't work)

我编译了这个小型MFC应用程序,当我使用VS2010单击一个CButton时抛出异常。

它处于发布模式并创建了pdb文件和映射文件。

然后我使用这些命令,symfix和sympath +让调试器知道符号的位置。 在.reload之后我输入了g,点击了异常按钮,它按预期崩溃了,但问题在于我做kb时,它没有显示完整的调用堆栈,而它成功显示其调用堆栈指向异常来自哪里当我在调试模式下编译此应用程序时。

我相信它应该是关于编译选项的一个简单问题,但我显然错过了一些东西。

提前致谢。


I compiled this small MFC application which throws an exception when I click a CButton using VS2010.

It was on release mode and created pdb files and map files.

Then I used these commands, symfix and sympath+ to let the debugger know where the symbols are. After .reload I entered g, clicked the exception button, and it crashed as expected but the problem here is when I do kb, it doesn't show full call stack, while it successfully shows its call stack pointing where the exception is coming from when I compile this app on debug mode.

I believe that it should be an easy problem about compile options but I obviously am missing things.

Thanks in advance.


原文:https://stackoverflow.com/questions/10942300
更新时间:2022-02-16 21:02

最满意答案

那么你的例子似乎工作正常,请参阅演示: http//jsfiddle.net/v7gMP/

 var options = {
    xAxis:{
        categories:[]
    }
};

Well your example seems to work fine, see the demo: http://jsfiddle.net/v7gMP/

 var options = {
    xAxis:{
        categories:[]
    }
};

相关问答

更多
  • Highcharts的问题[2022-03-17]

    显示与隐藏在series. visible,比如显示第一条折现,隐藏第二条,设置如下: series: [{ data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4], // visible: true }, { data: [144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 29.9, 71.5, 106.4, 129.2], vis ...
  • 对于在这里遇到同样问题的其他人来说,常规选择器并不是这样做的。 我不得不这样做: data: { table: document.querySelectorAll('.datatable')[0] } 演示: http : //jsfiddle.net/ktqj69sc/1/ For others comming here with the same problem, regular selectors does not quite do it. I had to do like so: data: ...
  • 尝试更改脚本的顺序。 highcharts脚本移动到dataTable脚本的底部然后可能一切正常。 Try to change order of scripts. highcharts scripts move to bottom of dataTable scripts then may be everything is OK.
  • 你的依赖关系被颠倒过来。 highcharts-more取决于正在加载的highcharts。 因此,确保highcharts在deps数组中作为依赖项( deps )加载: highcharts-more: { deps: ['highcharts'], exports: 'Highcharts' } Your dependencies are reversed. highcharts-more depends on highcharts being loaded. Hence, mak ...
  • 那么你的例子似乎工作正常,请参阅演示: http : //jsfiddle.net/v7gMP/ var options = { xAxis:{ categories:[] } }; Well your example seems to work fine, see the demo: http://jsfiddle.net/v7gMP/ var options = { xAxis:{ categories:[] } };
  • 将我的本地文件highcharts.js更新到最新版本解决了这个问题,因为从网站调用的highcharts-more和solid-guage与highcharts.js一起更新为新版本。 Updating my local file highcharts.js to latest version solved the issue as, highcharts-more and solid-guage being called from website were updated to new versions ...
  • json对象是这样的: "{ 'data' : [ [1, 10], [2, 11], [3, 12] ] }" The json object is like this: "{ 'data' : [ [1, 10], [2, 11], [3, 12] ] }"
  • 这是由dataGrouping引起的,你可以禁用它:jsfiddle.net/cq1gfe8j/5我建议在这里阅读更多关于dataGrouping 。 This is caused by dataGrouping, you can disable that: jsfiddle.net/cq1gfe8j/5 I suggest to read more about dataGrouping here.
  • 是的,你可以使用LINQ。 //Prepare var items = new List(); items.Add(new C1 { Day = 1, Tip = 2, Result = 2000 }); items.Add(new C1 { Day = 1, Tip = 1, Result = 3000 }); items.Add(new C1 { Day = 2, Tip = 3, Result = 4000 }); items.Add(new C1 { Day = 2, Tip = 4, Re ...
  • 您无法用文本替换数据值并使其显示的原因是您将数据类型定义为十进制,并使用Highcharts.numberFormat将y值转换为十进制。 由于您尝试放入文本,因此无法将字符串格式化为十进制,因此它为null。 现在,您不能简单地取出Highcharts.numberFormat调用并使其工作。 HighCharts数据系列需要数字y值。 因此,为了做你想做的事,我们使用一个名为Note的无证点属性。 这是我的尝试。 如果你想要的只是使用HighCharts在SVG / VML中创建一个表,你可以执行以下操 ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)