Call Sequence Tracing with profiler
Subject: Call Sequence Tracing with profiler
Newsgroups: gmane.comp.java.netbeans.modules.profiler.user
Date: 2008-10-05 03:19:26 GMT
Expires: This article expires on 2008-10-19
Hi list, I've spent a day or so investigating the possibility to trace Java method invocation sequences (to understand behaviors of an existing application upon some user actions) . Docs show Eclipse TPTP has some ability to generate Sequence Diagram in UML as profiling, but I've never succeeded with TPTP even to start profiling. The closest result I achieved so far is to view a CPU snapshot in NB profiler by sorting with the "Call Tree" column, however that won't show the exact order of method invocations in time sequence. I'd downloaded a source zip of whole NB and digged a little into profiler, my first idea had been to add a "Time Occurred" or "Sequence No." column to have the CCT sortable by occurrence sequence, but found no data field to back it. And I see the CCT nodes are *physically* reordered on sorting, and there's a default sort, so the *natural* order of CCT nodes is never available. Am I expecting the wrong thing from profiler? Or how is "Call Sequence Tracing" possible with profiler (regarding Eclipse TPTP seems to promise that) ? Any idea appreciated, thanks in advance! - Compl
RSS Feed