Vim can also throw number. But it will be automatically stringified and stored into v:exception
try
throw 123
catch
echo type(v:exception) == type('')
" will be 1
endtry
Vim can also throw number. But it will be automatically stringified and stored into v:exception
try
throw 123
catch
echo type(v:exception) == type('')
" will be 1
endtry
let list = split(globpath('./,lib,bin,test', '*'), '\v\r?\n') | |
for l in list | |
if !isdirectory(l) && filewritable(l) | |
exec printf('e %s', l) | |
exec 'set ff=unix' | |
exec 'set nobomb' | |
exec '%s/\s*$//' | |
endif | |
endfor |
CL command does not work on the following batch file because build.bat
will stop by showing message "Hit any key to close this window..." before CL. (vcvarsall.bat uses exit /b
)
rem buid.bat
...\vcvarsall.bat x64
cl ...
USE &&
According of my attempt, windbg
could not accomplish this task. dbgview
is one of alternative.
dbgview
is not included to common SDK or Devtools. Can download from: https://technet.microsoft.com/en-us/sysinternals/bb896647.aspx
To use, run dbgview.exe
and configure its filter, finally run debug target application. For modern Windows, must run dbgview.exe
as Administrator, otherwise cannot receive debug messages from common applications.
Note that OutputDebugMessage
(https://msdn.microsoft.com/en-us/library/windows/desktop/aa363362(v=vs.85).aspx) seems to work fine without debug configuration. (/Zi
, /DEBUG
)
So, should do like this for release build:
According to this chart,
WinHTTP
has a lot weak points in comparison with WinINet
. But WinHttp
supports the following features: