Questions tagged [process-dictionary]
2 questions
5
votes
2 answers
What's the best erlang approach to being able to identify a processes identity from its process id?
When I'm debugging, I'm usually looking at about 5000 processes, each of which could be one of about 100 gen_servers, fsms, etc. If I want to know WHAT an erlang process is, I can do:
process_info(pid(0,1,0), initial_call).
And get a result…

Sniggerfardimungus
- 11,583
- 10
- 52
- 97
2
votes
2 answers
What happen if i erased process dictionary of gen_server module?
I was playing with the process dictionary inside a gen_server module, i called get() function and i get something like this.
{'$ancestors',[main_server,<0.30.0>]},
{'$initial_call',{child_server,init,1}}]
what happen if i erased the process…

user1748906
- 526
- 4
- 13