You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
add_debuggable_node drops debug-only arguments and mutates caller lists #4016
add_debuggable_node drops extra_debug_args if no base arguments are supplied, and mutates the caller's arguments list when base arguments are supplied.
Reproduction
Call add_debuggable_node(ld, package="example", executable="example", extra_debug_args=["--debug"]) without arguments. The standard MoveGroup launch generator uses this pattern.
Expected behavior
The debug node receives --debug independently of any normal arguments, and caller-owned lists remain unchanged.
Actual behavior
The debug node receives no arguments. When a base list is provided, debug-only arguments are appended to that list in place.
Environment
Reproduced on main (5399d29) with Python tests capturing the Node constructor arguments.
Activity