aboutsummaryrefslogtreecommitdiff
path: root/tools/windbg/windbg.bat
blob: 11cf29cf81ccc33a3352b9a75ad6804a441cdbf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
:: This file is dedicated to the public domain.
@echo off
setlocal

if not "%WINDBG_BIN%"=="" goto :ok
set WINDBG_BIN=tools\windbg\bin
if exist tools\windbg\bin\DbgX.Shell.exe goto :ok
powershell tools\windbg\install.ps1 || goto :end

:ok
%WINDBG_BIN%\DbgX.Shell.exe /g /c $^<tools\windbg\initcmds

:end
exit /b %errorlevel%

:: vi: sw=4 ts=4 noet tw=80 cc=80