Ticket #7 (new enhancement)
Subsequent calls to start_trace(reset=False) loses __main__
| Reported by: | anonymous | Owned by: | gak |
|---|---|---|---|
| Priority: | minor | Component: | general |
| Version: | 0.3.1 | Keywords: | |
| Cc: |
Description
It seems calls to start_trace(reset=False) loses edges from main for all but the first start_trace, i.e. the first one after a reset_trace(). It seems maybe there is something that needs "resetting" even when not resetting?
Simple example:
pycallgraph.start_trace(reset=False) #pycallgraph.stop_trace() pycallgraph.start_trace(reset=False) ...test code here... pycallgraph.stop_trace()
That works normally, now uncomment the stop_trace() command, and rerun... main disappears.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.