Skip to content

Commit 3958320

Browse files
committed
add pid for multiprocess debugging
1 parent cae522a commit 3958320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby-debug-ide/xml_printer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def print_contexts(contexts)
9292

9393
def print_context(context)
9494
current = 'current="yes"' if context.thread == Thread.current
95-
print "<thread id=\"%s\" status=\"%s\" #{current}/>", context.thnum, context.thread.status
95+
print "<thread id=\"%s\" status=\"%s\" pid=\"%s\" #{current}/>", context.thnum, context.thread.status, Process.pid
9696
end
9797

9898
def print_variables(vars, kind)

0 commit comments

Comments
 (0)