Prevented the shell buffer in Windows.

I can't get it to work without PTY
This commit is contained in:
IdanArye 2014-05-22 17:21:31 +03:00
parent 3012df9a85
commit ea92572fa1
4 changed files with 12 additions and 4 deletions

View File

@ -18,7 +18,9 @@ function! vebugger#gdb#start(binaryFile,args)
call l:debugger.writeLine('attach '.string(a:args.pid))
else
call l:debugger.writeLine('set args '.vebugger#util#commandLineArgsForProgram(a:args).' 1>&2')
if !has('win32')
call vebugger#std#openShellBuffer(l:debugger)
endif
call l:debugger.writeLine('start')
end

View File

@ -11,7 +11,9 @@ function! vebugger#jdb#start(entryClass,args)
call l:debugger.writeLine('stop on '.a:entryClass.'.main')
call l:debugger.writeLine('run '.a:entryClass.' '.vebugger#util#commandLineArgsForProgram(a:args))
call l:debugger.writeLine('monitor where')
if !has('win32')
call vebugger#std#openShellBuffer(l:debugger)
endif
call l:debugger.addReadHandler(function('s:readProgramOutput'))
call l:debugger.addReadHandler(function('s:readWhere'))

View File

@ -3,7 +3,9 @@ function! vebugger#pdb#start(entryFile,args)
let l:debugger.state.pdb={}
if !has('win32')
call vebugger#std#openShellBuffer(l:debugger)
endif
call l:debugger.addReadHandler(function('s:readProgramOutput'))
call l:debugger.addReadHandler(function('s:readWhere'))

View File

@ -6,7 +6,9 @@ function! vebugger#rdebug#start(entryFile,args)
call l:debugger.writeLine("$stdout=$stderr")
let l:debugger.pipes.err.annotation = "err&prg\t\t"
if !has('win32')
call vebugger#std#openShellBuffer(l:debugger)
endif
call l:debugger.addReadHandler(function('s:readProgramOutput'))
call l:debugger.addReadHandler(function('s:readWhere'))