This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jcea
Recipients Garen, belopolsky, chrismiles, danchr, dhduvall, dmalcolm, fche, glyph, hazmat, jbaker, jcea, jmcp, laca, lasizoillo, loewis, mjw, movement, neologix, pitrou, rhettinger, robert.kern, ronaldoussoren, serverhorror, sirg3, twleung, wsanchez
Date 2011-11-22.01:01:11
SpamBayes Score 8.778091e-10
Marked as misclassified No
Message-id <1321923672.28.0.485553970746.issue13405@psf.upfronthosting.co.za>
In-reply-to
Content
New changeset.

New probes:

- "gc-start", "gc-done": Signal Garbage Collection operations. The first get the generation to scan, the second gets the number of objects collected.

- "line": Called in every Python line. Parameters: module, function, linenumber.

- "instance-new-start", "instance-new-done": information about instance creation.

 - Old style classes: get the name of the class, and the name of the module.

 - New style classes: get the name of the class and, IF WE CAN, the name of the module. This is not working 100%.

- "instance-delete-start", "instance-delete-done": information about instance deletion.

 - Old style classes: get the name of the class, and the name of the module.

 - New Style classes: Not working yet.

Shortcomings:

- We don't trace new style instances deletion yet.

- We don't trace most C objects creation/deletion.

- When displaying newstyle instances, the module parameter can be incorrect, for internal types.

 - The "line" probe is called again in the first and last line of a loop when the loop finishes.
History
Date User Action Args
2011-11-22 01:01:12jceasetrecipients: + jcea, loewis, rhettinger, ronaldoussoren, belopolsky, pitrou, wsanchez, movement, serverhorror, glyph, laca, twleung, jbaker, robert.kern, sirg3, chrismiles, danchr, dhduvall, dmalcolm, mjw, Garen, neologix, lasizoillo, fche, hazmat, jmcp
2011-11-22 01:01:12jceasetmessageid: <1321923672.28.0.485553970746.issue13405@psf.upfronthosting.co.za>
2011-11-22 01:01:11jcealinkissue13405 messages
2011-11-22 01:01:11jceacreate