Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trace execution

Status
Not open for further replies.

zee3

Programmer
Feb 26, 2002
4
GB
hi,

I was wondering if anyone knew of anywhere i would be able to find java source code that would output a trace execution of java code into a text file.

My intention is to use this trace file to produce a UML sequence diagram. I understand there is already software that can do this but its a trace file that i really need.

Thanks for your help
 
one way is :

Code:
try {
  throw new Exception();
} catch (Exception e) {
   e.printStackTrace(new FileOutputStream("file.txt"));
}

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top