--- lang: ja-jp breaks: true --- # Windows WER(Windows Error Reporting Service)によるエラーダンプファイルの出力 2021-05-17 > Windowsでアプリケーション異常終了の原因を追及する > https://www.torutk.com/projects/swe/wiki/Windows%E3%81%A7%E3%82%A2%E3%83%97%E3%83%AA%E3%82%B1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E7%95%B0%E5%B8%B8%E7%B5%82%E4%BA%86%E3%81%AE%E5%8E%9F%E5%9B%A0%E3%82%92%E8%BF%BD%E5%8F%8A%E3%81%99%E3%82%8B#WER%E3%81%AB%E3%82%88%E3%82%8B%E3%83%80%E3%83%B3%E3%83%97 > User-Mode ダンプの収集 > https://docs.microsoft.com/ja-jp/windows/win32/wer/collecting-user-mode-dumps ## Windows Error Reporting Service を有効化する。  ## レジストリ設定 ```= コンピューター\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps ``` | キー | 値 | 説明 | | ---------- | ------------ | --------------------------------------------------- | | DumpCount | 10 | フォルダー内のダンプファイルの最大数 | | DumpFolder | C:\temp\dump | Text | | DumpType | 2 | 0: カスタムダンプ<br>1: ミニダンプ<br>2: 完全ダンプ |  ### LocalDumps.reg ```= Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps] "DumpFolder"="C:\\temp\\dump" "DumpCount"=dword:00000010 "DumpType"=dword:00000002 ``` ## 作成されたDumpファイルは、Visual Studioで開いて、エラーの箇所を確認する。 :::info 詳細な確認には、ソースファイルおよび、pdbファイルが必要。 ::: ###### tags: `Windows` `WER` `Error Reporting Service` `ダンプ`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up