Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Tired of wrapped thread dumps/traces in bugzilla ?




I wrote a little conversion tool which will reassemble the wrapped line in
stack frames (thanks to bugzilla).

BEFORE
"Worker-124" prio=5 tid=0x03fc1630 nid=0x1694 in Object.wait()
[58cf000..58cfd8c]
        at java.lang.Object.wait(Native Method)
        at
org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:159)
        - locked <0x164c9500> (a org.eclipse.core.internal.jobs.ThreadJob)

AFTER
"Worker-124" prio=5 tid=0x03fc1630 nid=0x1694 in Object.wait()
[58cf000..58cfd8c]
        at java.lang.Object.wait(Native Method)
        at
org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:159)
        - locked <0x164c9500> (a org.eclipse.core.internal.jobs.ThreadJob)

It is *very* perfectible, but figured it could be useful anyway.

(See attached file: PrettyTrace.java)

Usage: PrettyTrace <traceFile>

Attachment: PrettyTrace.java
Description: Binary data


Back to the top