Sections
Timeline
Browse Source
New Ticket
Sub-Sections
Download
Comma-delimited Text
Tab-delimited Text
RSS Feed
Metanav
Preferences
About Trac
Links
Slowchop Studios
Gerald Kaszuba
Advertisement

Ticket #4 (new enhancement)

Opened 19 months ago

Last modified 14 months ago

Track call order

Reported by: Alec Thomas <alec@…> Owned by: gak
Priority: blocker Component: general
Version: Keywords: call order
Cc:

Description

It would be good to be able to see the order in which functions were called. This could get out of hand quite quickly, so maybe track only the first calls.

Attachments

call_sequence.diff (1.0 kB) - added by gak 14 months ago.

Change History

  Changed 14 months ago by mage2k@…

The file I just attached contains the diff that resulted from the additions to pycallgraph.py I made to add the display of call sequencing as numbered labels on the edges of the generated graphs. Multiple sequence numbers on the same edges are comma separated. I also added a new setting attribute to control whether or not to display the sequence numbers at all (it defaults to False). I hope you find this useful.

follow-up: ↓ 3   Changed 14 months ago by mage2k@…

I'm sorry, I just realized that the display on the edges isn't working for multiple calls. Please, disregard (or, delete) that attachment. I'll work on getting this fixed tomorrow (it's late).

in reply to: ↑ 2   Changed 14 months ago by gak

Replying to mage2k@gmail.com:

I'm sorry, I just realized that the display on the edges isn't working for multiple calls. Please, disregard (or, delete) that attachment. I'll work on getting this fixed tomorrow (it's late).

No worries, attachment deleted.

  Changed 14 months ago by mage2k@…

Here's the fix. I hadn't quoted the label in the edge string.

  Changed 14 months ago by mage2k@…

Ok, now I'm getting Trac errors trying to post the fixed version. I've sent it to gak directly via email.

Changed 14 months ago by gak

  Changed 14 months ago by gak

I've attached the new diff.

By the way, I found the uploading bug on Trac and it is fixed: http://trac.edgewall.org/ticket/4311

Add/Change #4 (Track call order)

Author



Change Properties
<Author field>
Action
as new
 
Note: See TracTickets for help on using tickets.