Allow remote attach to gdbserver without pid picking
This commit is contained in:
parent
faf0cefb82
commit
298ff8cd9c
1 changed files with 2 additions and 0 deletions
|
|
@ -369,6 +369,8 @@ class DebugSession( object ):
|
||||||
pid = utils.AskForInput( 'Enter PID to attach to: ' )
|
pid = utils.AskForInput( 'Enter PID to attach to: ' )
|
||||||
launch_config[ atttach_config[ 'pidProperty' ] ] = pid
|
launch_config[ atttach_config[ 'pidProperty' ] ] = pid
|
||||||
return
|
return
|
||||||
|
elif atttach_config[ 'pidSelect' ] == 'none':
|
||||||
|
return
|
||||||
|
|
||||||
raise ValueError( 'Unrecognised pidSelect {0}'.format(
|
raise ValueError( 'Unrecognised pidSelect {0}'.format(
|
||||||
atttach_config[ 'pidSelect' ] ) )
|
atttach_config[ 'pidSelect' ] ) )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue