Generating extended debugging information after a crash
Posted: Fri Dec 09, 2022 10:18 am
This post details registry changes that can enable "Windows Error Reporting" (WER) functionality for Flowcode which can provide extended debugging information after a Flowcode crash which can help our developers pinpoint the cause of the crash.
This WER functionality is turned off by default in Windows and requires changes to the registry to enable it. It can be turned on for all applications or just specific ones. I will detail how to enable it for Flowcode here using information gathered from this Microsoft post.
To enable WER for Flowcode v9, the following keys need to be added to the registry. This will require administrator-level access.
The attached zipped registry file can also be used - unzip its contents, right click the "enableminidumps.reg" file and select "merge". This attached file contains additional registry entries for the upcoming Flowcode v10.
Once the registry has been changed, you should have entries similar to the following:
Any future crashes by Flowcode should produce a "minidump" file in the location specified (%LOCALAPPDATA%\FlowcodeV9\CrashDumps). If a Flowcode crash does produce a "minidump" file (named something like "FlowcodeV9.exe.26464.dmp"), please contact me via PM and I will provide instructions on how to upload this file so we can investigate.
This WER functionality is turned off by default in Windows and requires changes to the registry to enable it. It can be turned on for all applications or just specific ones. I will detail how to enable it for Flowcode here using information gathered from this Microsoft post.
To enable WER for Flowcode v9, the following keys need to be added to the registry. This will require administrator-level access.
Code: Select all
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\FlowcodeV9.exe
"DumpFolder" (REG_EXPAND_SZ) = %LOCALAPPDATA%\FlowcodeV9\CrashDumps
"DumpCount" (REG_DWORD) = 16
"DumpType" (REG_DWORD) = 1
Once the registry has been changed, you should have entries similar to the following:
Any future crashes by Flowcode should produce a "minidump" file in the location specified (%LOCALAPPDATA%\FlowcodeV9\CrashDumps). If a Flowcode crash does produce a "minidump" file (named something like "FlowcodeV9.exe.26464.dmp"), please contact me via PM and I will provide instructions on how to upload this file so we can investigate.