<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    JUST DO IT ~

    我只想當個程序員

    windows core 文件生成

     

    先確保執行這個. win7 以上才支持 WER windows error report 功能 .

    windows 彈出提示框, 然后進程管理器,右鍵手工導出也行.

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps]
    "DumpFolder"="c:\\"
    "DumpCount"=dword:00000030
    "DumpType"=dword:00000002
    "CustomDumpFlags"=dword:00000000

    c++ debug版本 + pdb文件

    另外需要注意不是所有情況都生成core.

    windows 改了注冊表不生成core的原因:

    Requirements and limitations

    · Debugging dump files of optimized code can be confusing. For example, compiler inlining of functions can result in unexpected call stacks and other optimizations might change the lifetime of variables.

    · Dump files from 64-bit machines must be debugged on an instance of Visual Studio that is running on a 64-bit computer.

    · In versions of Visual Studio before VS 2013, dumps of 32-bit apps that were run on 64-bit machines that were collected by some tools (such as Task Manager and 64-bit WinDbg) could not be opened in Visual Studio. This limitation has been removed in VS 2013.

    · Visual Studio can debug dump files of native apps from ARM devices. Visual Studio can also debug apps dump files of managed apps from ARM devices, but only in the native debugger.

    · To debug kernel-mode dump files in Visual Studio 2013, download the Windows 8.1 Version of Debugging Tools for Windows. See Kernel Debugging in Visual Studio.

    · Visual Studio can't debug dump files saved in the older dump format known as a full user-mode dump. Note that a full user-mode dump is not the same a dump with heap.

    · To debug with the SOS.dll (SOS Debugging Extension) in Visual Studio, you must install the Debugging Tools for Windows that is part of the Windows Driver Kit (WDK). See Windows 8.1 Preview: Download kits, bits, and tools.

     

    參考:

    Collecting User-Mode Dumps   --注冊表

    http://msdn.microsoft.com/en-us/library/windows/desktop/bb787181(v=vs.85).aspx

     

    Crash Dump Analysis  --- c++ 自己生成dump

    http://msdn.microsoft.com/en-us/library/windows/desktop/ee416349(v=vs.85).aspx 

     

    Use Dump Files to Debug App Crashes and Hangs in Visual Studio

    http://msdn.microsoft.com/en-us/library/d5zhxt22.aspx#bkmk_requirements_and_limitations

     

    Attach to Running Processes with the Visual Studio Debugger

    http://msdn.microsoft.com/en-us/library/3s68z0b3.aspx

    Just-In-Time Debugging in Visual Studio  ------- 還沒看

    http://msdn.microsoft.com/en-us/library/5hs4b7a6.aspx

    posted on 2014-12-17 10:44 小高 閱讀(666) 評論(0)  編輯  收藏 所屬分類: C

    導航

    <2014年12月>
    30123456
    78910111213
    14151617181920
    21222324252627
    28293031123
    45678910

    統計

    常用鏈接

    留言簿(3)

    隨筆分類(352)

    收藏夾(19)

    關注的blog

    手冊

    搜索

    積分與排名

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲av色福利天堂| 亚洲AV网站在线观看| 久久亚洲AV成人无码国产最大| 亚洲免费在线视频观看| 亚洲综合无码无在线观看| 国产天堂亚洲国产碰碰| 日本中文字幕免费高清视频| 99久久99这里只有免费费精品 | 国产好大好硬好爽免费不卡| 亚洲色欲久久久综合网| 亚洲AV无码成人专区| 你是我的城池营垒免费观看完整版| 24小时日本韩国高清免费| 成人亚洲网站www在线观看| 黄色免费网址大全| 99久久久国产精品免费无卡顿| 国产精品亚洲精品青青青| 最新亚洲成av人免费看| 亚洲视频精品在线观看| 午夜肉伦伦影院久久精品免费看国产一区二区三区 | 一级特黄特色的免费大片视频| 久久受www免费人成_看片中文| 亚洲日韩人妻第一页| 国产精品亚洲专区在线观看| 香蕉视频在线观看免费国产婷婷| 亚洲一区二区三区自拍公司| 久久久久免费精品国产小说| 亚洲人成在线播放网站| 最近中文字幕免费2019| 亚洲韩国—中文字幕| 男女午夜24式免费视频 | 亚洲AV成人精品网站在线播放| 桃子视频在线观看高清免费完整| 亚洲精品国产第一综合99久久 | 免费无码又爽又刺激高潮视频| 亚洲色精品vr一区二区三区| 亚洲黄色免费在线观看| 日本高清不卡中文字幕免费| 国产一区二区三区免费看| 亚洲第一成人在线| 亚洲日本中文字幕一区二区三区|