With this switch should be possible for on/off the creation of the:
Then it be possible, for define at the compile-time, what the state the switch have, default is ON
For short client-test need a environment variable for set it ON, only when the switch have the state OFF.
For this feature need a improvment of the CrashReporter-Class, for simpler handling of the new switch.
To analyze a minidump:-
->Open Visual Studio.
->On the File menu, click Open Project.
->Set Files of type to Dump Files, navigate to the dump file, select it, and ->click Open.
->Run the debugger.
In soffice.ini (sofficerc) the new entry "CrashDumpEnable" default is "true"
The compile-time-switch is "--disable-crashdump", then set the
switch to "false"
- when "CrashDumpEnable" is false then the Dump.ini and the dump-file
are not written
- when the entry "CrashDumpEnable" is missing, in this case is the
default true, too
- the checkbox under Options-General "Send crash reports to ..."
is deactive and shows off (only view, not change the config)
The environment variable is "CRASH_DUMP_ENABLE" when set to any char,
then the switch "CrashDumpEnable=false" are overrules with true
and the Dump.ini and dump-file are write
Juergen Funk committed a patch related to this issue.
It has been pushed to "master":
tdf#127711 - A runtime-switch for the MiniCrashDump
It will be available in 6.4.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Looks fixed to me.