Skip to content

--pid (pid is not listening for messages ...  #56

@meetme2meat

Description

@meetme2meat

I'm running a rbtrace on a plain ruby project with celluloid (Ruby version 2.2.2).

Trying to run a rbtrace from Terminal.

rbtrace -p 9831 -e 'Thread.new{GC.start;require "objspace";io=File.open("9831/FIRST.json", "w"); ObjectSpace.dump_all(output: io); io.close}'

Yield the following result
Error: argument --pid (pid is not listening for messages, did you require "rbtrace").

rbtrace is required successfully on the project.

No idea what is wrong over here.

OS : Ubuntu 16.04 LTS
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]

sudo lsof -p 9831 | grep rbtrace
ruby    9831 joshianiket22  mem       REG                8,1   829136  525167 /home/joshianiket22/.rvm/gems/ruby-2.2.2@the_scp/gems/rbtrace-0.4.8/lib/rbtrace.so

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions