|
|
| Author |
Message |
|
| samuel at dc.fi.udc.es |
Posted: Mon Sep 27, 2004 9:15 am |
|
|
|
Guest
|
The trace shell option of pman is no longer working. Pman hangs
forever when you try to trace the shell process.
The problem is in pman_shell:find_shell function. It assumes the shell
process is the one that has the {initial_call,{shell,evaluator,3}}
tuple within its process info, but some change has broken this: a process
created with spawn_link will have {erlang, apply, 2} as its initial_call
value.
I've attached a patch that solves the pman problem adding a dictionary
entry so that the shell process can be recognized again, but seems a
"dirty" solution. IMO it would be worth restoring the former behaviour
of the spawn functions, but it is beyond my knowledge so far :(
Any ideas?
Best regards.
--
Samuel
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|