Web tracker

15 views
Skip to first unread message

Berwyn Hoyt

unread,
Jan 30, 2013, 8:31:04 PM1/30/13
to pympl...@googlegroups.com
Hello,

The pympler web interface tracker can display an object tracked with the tracker.track_object, but it displays no objects when tracked with tracker.track_class.  This makes finding the offending class with it difficult.

I'm trying to debug a python project on a embedded platform.  The pympler web interface is great for this because the embedded platform doesn't have much of anything on it except python, and I can have a browser on my development machine.

I'm fairly new to pympler.  Any ideas why track_class doesn't work?

Thanks,
Berwyn
pympler-web.png

Berwyn Hoyt

unread,
Jan 31, 2013, 5:43:46 PM1/31/13
to pympl...@googlegroups.com
Oops, sorry.  Ignore that message.  I've worked it out myself.  It turns out that track_class only works if you call it *before* the class objects are created, whereas by contrast you obviously have to call track_object after the object is created.


--
--
pympler developer mailing list: pympl...@googlegroups.com
http://groups.google.com/group/pympler-dev
To unsubscribe, send email to pympler-dev...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "pympler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pympler-dev...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Berwyn Hoyt, Senior Hardware Engineer: ber...@brush.co.nz
Ph: +64 3 359 2101; Mobile: +64 21 045 7830
Brush Technology: www.brush.co.nz

Ludwig Hähne

unread,
Jan 31, 2013, 5:48:07 PM1/31/13
to pympl...@googlegroups.com, Berwyn Hoyt
Hi Berwyn,

I was about to suggest that. Glad it solved the problem.

Good luck with the profiling.

Cheers, Ludwig

Am 31.01.2013 23:43, schrieb Berwyn Hoyt:
> Oops, sorry. Ignore that message. I've worked it out myself. It turns
> out that track_class only works if you call it *before* the class
> objects are created, whereas by contrast you obviously have to call
> track_object after the object is created.
>
>
> On 31 January 2013 14:31, Berwyn Hoyt <ber...@gmail.com
> <mailto:ber...@gmail.com>> wrote:
>
> Hello,
>
> The pympler web interface tracker can display an object tracked with
> the tracker.track_object, but it displays no objects when tracked
> with tracker.track_class. This makes finding the offending class
> with it difficult.
>
> I'm trying to debug a python project on a embedded platform. The
> pympler web interface is great for this because the embedded
> platform doesn't have much of anything on it except python, and I
> can have a browser on my development machine.
>
> I'm fairly new to pympler. Any ideas why track_class doesn't work?
>
> Thanks,
> Berwyn
>
> --
> --
> pympler developer mailing list: pympl...@googlegroups.com
> <mailto:pympl...@googlegroups.com>
> <mailto:pympler-dev%2Bunsu...@googlegroups.com>
> ---
> You received this message because you are subscribed to the Google
> Groups "pympler-dev" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to pympler-dev...@googlegroups.com
> <mailto:pympler-dev%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
>
> --
> Berwyn Hoyt, Senior Hardware Engineer: ber...@brush.co.nz
> <mailto:ber...@brush.co.nz>
> Ph: +64 3 359 2101; Mobile: +64 21 045 7830
> Brush Technology: www.brush.co.nz <http://www.brush.co.nz>
Reply all
Reply to author
Forward
0 new messages