From: Jaime S. <Jai...@sc...> - 2010-01-21 09:33:39
|
Nicholas Riley wrote: > You need to limit the scope of tracing. satisfyFunction, satisfyTask, > etc. are not part of Jython; they're part of whatever Python framework > is calling your code. > You are right indeed; I can ignore those scopes. Now a simple call executes traceLine in the top scope exactly the number of lines there. Great! However, I still miss the total number of lines that are to be executed: PyFrame has f_lineno (current line number) but I miss something like f_nlines (indicating the total number of lines to be executed). Anyway, I can deduce them by other means. Thank you very much! Jaime ================================================================================================ This message and any attachments are intended for the use of the addressee or addressees only. The unauthorised disclosure, use, dissemination or copying (either in whole or in part) of its content is prohibited. If you received this message in error, please delete it from your system and notify the sender. E-mails can be altered and their integrity cannot be guaranteed. ESA shall not be liable for any e-mail if modified. ================================================================================================= |