mirror of https://github.com/python/cpython.git
gh-133926: pass commands via remote_pdb.set_trace instead of using remote_pdb.rcLines.extend (#133933)
This commit is contained in:
parent
86c1d439e0
commit
ae74e3f863
|
@ -3383,8 +3383,7 @@ def _connect(
|
||||||
f"\nLocal pdb module's protocol version: {attach_ver}"
|
f"\nLocal pdb module's protocol version: {attach_ver}"
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
remote_pdb.rcLines.extend(commands.splitlines())
|
remote_pdb.set_trace(frame=frame, commands=commands.splitlines())
|
||||||
remote_pdb.set_trace(frame=frame)
|
|
||||||
|
|
||||||
|
|
||||||
def attach(pid, commands=()):
|
def attach(pid, commands=()):
|
||||||
|
|
Loading…
Reference in New Issue