Re: Debugging not stopping sessions

Andreas Altergott <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Organization MIRA Consulting GmbH
Message-ID <[email protected]>
Hi,

Olivier Mengué schrieb:
> So here is my question: what can I use to track what is keeping the session
> alive ? How can I inspect the session (even using private APIs) and the
> kernel ?


Adding following line to the top of your code, before you create the
session will output additional kernel debug messages.

sub POE::Kernel::TRACE_REFCNT() { 1 }

I did not figure out though how to see what actually keeps the
kernel/session alive.  I only can figure out now that something is
keeping it alive.

More information on this topic would be appriciated.


Regards,
Andreas
signature.asc (application/pgp-signature, 260 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksBclcACgkQImDrLy4cAN/kdQCfZ86kUpFvsayuXTEjKdJ8FkTg
Gi8AoNGOxcdwhSnzelZYNUXbI3zVVAps
=CLY/
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.