Hello<br><br>I have idea about &quot;meta approach&quot; for implementation of progress tracking of arbitrary method execution.<br><br>Progress tracking (progress bar stuff) is really ortogonal functionallity for method execution. And it would be cool if we have framework for describing tracking of method execution stuff (like it progress). <br>

This framework should run block of code in background and periodically analize state of this background process stack. And show this state for user. And so this framework allow track execution of arbitrary code. <br>Analizing state can search running loops in stack for example and show user status of loop counters.<br>

<br>I think it is not very hard to implement. But maybe this approach can&#39;t be implemented when code jitted<br><br><br><div class="gmail_quote">2011/3/30 Martin Dias <span dir="ltr">&lt;<a href="mailto:tinchodias@gmail.com" target="_blank">tinchodias@gmail.com</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br><br>I have a couple of algorithms and I want to show the progress while they run. I played with the progress bar and it&#39;s okay for my needs. <br>


<br>The progress bar should be pluggable and decoupled of the algorithms. <br>
<br>I am writing to you to ask about good designs for my problem. I hope I haven&#39;t expressed the problem in a too abstract way.<br><br>The design I have in mind is a kind of observer pattern: the 
serialization algorithm publishes information about the run; a specific 
listener implements the progress bar for that serialization algorithm, 
interpreting the information published. <br><br>Thanks,<br><font color="#888888">Martin<br><br><br>
</font><br><br>
<br></blockquote></div><br>