Windows: Enhance our debug batch files
This makes a change to the debug scripts to make it easier for both users and those tending to the issue tracker by setting Blender's temporary directory location to the debug logs location The is necessary because while the debug output and the system information file go to %temp%\blender\debug_logs, the crash text file does not. We then have to spend additional time asking the user to go fetch it from the other location. Now the crash file ends up in the same place. Pull Request: https://projects.blender.org/blender/blender/pulls/116882
This commit is contained in:
parent
280b5c89ae
commit
691584da1b
@ -8,9 +8,13 @@ echo by dragging them into the text area of your bug report, please include both
|
||||
echo blender_debug_output.txt and blender_system_info.txt in your report.
|
||||
echo.
|
||||
pause
|
||||
mkdir "%temp%\blender\debug_logs" > NUL 2>&1
|
||||
echo.
|
||||
echo Starting blender and waiting for it to exit....
|
||||
setlocal
|
||||
|
||||
set PYTHONPATH=
|
||||
"%~dp0\blender" --debug --debug-gpu --debug-cycles --python-expr "import bpy; bpy.ops.wm.sysinfo(filepath=r'%temp%\blender\debug_logs\blender_system_info.txt')" > "%temp%\blender\debug_logs\blender_debug_output.txt" 2>&1 < %0
|
||||
explorer "%temp%\blender\debug_logs"
|
||||
set DEBUGLOGS="%temp%\blender\debug_logs"
|
||||
mkdir "%DEBUGLOGS%" > NUL 2>&1
|
||||
|
||||
"%~dp0\blender" --debug --debug-gpu --debug-cycles --python-expr "import bpy; bpy.context.preferences.filepaths.temporary_directory=r'%DEBUGLOGS%'; bpy.ops.wm.sysinfo(filepath=r'%DEBUGLOGS%\blender_system_info.txt')" > "%DEBUGLOGS%\blender_debug_output.txt" 2>&1 < %0
|
||||
explorer "%DEBUGLOGS%"
|
||||
|
@ -8,9 +8,13 @@ echo by dragging them into the text area of your bug report, please include both
|
||||
echo blender_debug_output.txt and blender_system_info.txt in your report.
|
||||
echo.
|
||||
pause
|
||||
mkdir "%temp%\blender\debug_logs" > NUL 2>&1
|
||||
echo.
|
||||
echo Starting blender and waiting for it to exit....
|
||||
setlocal
|
||||
|
||||
set PYTHONPATH=
|
||||
"%~dp0\blender" --debug --debug-gpu --debug-gpu-force-workarounds --python-expr "import bpy; bpy.ops.wm.sysinfo(filepath=r'%temp%\blender\debug_logs\blender_system_info.txt')" > "%temp%\blender\debug_logs\blender_debug_output.txt" 2>&1 < %0
|
||||
explorer "%temp%\blender\debug_logs"
|
||||
set DEBUGLOGS="%temp%\blender\debug_logs"
|
||||
mkdir "%DEBUGLOGS%" > NUL 2>&1
|
||||
|
||||
"%~dp0\blender" --debug --debug-gpu --debug-gpu-force-workarounds --python-expr "import bpy; bpy.context.preferences.filepaths.temporary_directory=r'%DEBUGLOGS%'; bpy.ops.wm.sysinfo(filepath=r'%DEBUGLOGS%\blender_system_info.txt')" > "%DEBUGLOGS%\blender_debug_output.txt" 2>&1 < %0
|
||||
explorer "%DEBUGLOGS%"
|
||||
|
@ -8,9 +8,13 @@ echo by dragging them into the text area of your bug report, please include both
|
||||
echo blender_debug_output.txt and blender_system_info.txt in your report.
|
||||
echo.
|
||||
pause
|
||||
mkdir "%temp%\blender\debug_logs" > NUL 2>&1
|
||||
echo.
|
||||
echo Starting blender and waiting for it to exit....
|
||||
setlocal
|
||||
|
||||
set PYTHONPATH=
|
||||
"%~dp0\blender" --debug --debug-cycles --python-expr "import bpy; bpy.ops.wm.sysinfo(filepath=r'%temp%\blender\debug_logs\blender_system_info.txt')" > "%temp%\blender\debug_logs\blender_debug_output.txt" 2>&1 < %0
|
||||
explorer "%temp%\blender\debug_logs"
|
||||
set DEBUGLOGS="%temp%\blender\debug_logs"
|
||||
mkdir "%DEBUGLOGS%" > NUL 2>&1
|
||||
|
||||
"%~dp0\blender" --debug --debug-cycles --python-expr "import bpy; bpy.context.preferences.filepaths.temporary_directory=r'%DEBUGLOGS%'; bpy.ops.wm.sysinfo(filepath=r'%DEBUGLOGS%\blender_system_info.txt')" > "%DEBUGLOGS%\blender_debug_output.txt" 2>&1 < %0
|
||||
explorer "%DEBUGLOGS%"
|
||||
|
@ -8,9 +8,13 @@ echo by dragging them into the text area of your bug report, please include both
|
||||
echo blender_debug_output.txt and blender_system_info.txt in your report.
|
||||
echo.
|
||||
pause
|
||||
mkdir "%temp%\blender\debug_logs" > NUL 2>&1
|
||||
echo.
|
||||
echo Starting blender and waiting for it to exit....
|
||||
setlocal
|
||||
|
||||
set PYTHONPATH=
|
||||
"%~dp0\blender" --factory-startup --python-expr "import bpy; bpy.ops.wm.sysinfo(filepath=r'%temp%\blender\debug_logs\blender_system_info.txt')" > "%temp%\blender\debug_logs\blender_debug_output.txt" 2>&1
|
||||
explorer "%temp%\blender\debug_logs"
|
||||
set DEBUGLOGS="%temp%\blender\debug_logs"
|
||||
mkdir "%DEBUGLOGS%" > NUL 2>&1
|
||||
|
||||
"%~dp0\blender" --factory-startup --python-expr "import bpy; bpy.context.preferences.filepaths.temporary_directory=r'%DEBUGLOGS%'; bpy.ops.wm.sysinfo(filepath=r'%DEBUGLOGS%\blender_system_info.txt')" > "%DEBUGLOGS%\blender_debug_output.txt" 2>&1 < %0
|
||||
explorer "%DEBUGLOGS%"
|
||||
|
Loading…
Reference in New Issue
Block a user