Forget it I was being stupid. Ran the application without the debugger and traceview worked fine! thx
On Apr 8, 3:11 pm, Magnus <[email protected]> wrote: > Tried to trace in "run" mode instead but got another error when trying > traceview. Now I get the following error > > m...@labbe:/tmp$ traceview /tmp/img > Exception in thread "main" java.lang.NumberFormatException: For input > string: " Z MSWIN4.1 SDCARDFAT32U RRaArrAa U Z MSWIN4.1 > SDCARDFAT32 U RRaArrAa > U Alighipng.traceLIGHIN~1TRA d h : : h :*version" > at java.lang.NumberFormatException.forInputString > (NumberFormatException.java:48) > at java.lang.Integer.parseInt(Integer.java:447) > at java.lang.Integer.valueOf(Integer.java:526) > at java.lang.Integer.decode(Integer.java:918) > at com.android.traceview.DmTraceReader.parseKeys > (DmTraceReader.java:359) > at com.android.traceview.DmTraceReader.generateTrees > (DmTraceReader.java:77) > at com.android.traceview.DmTraceReader.<init> > (DmTraceReader.java:71) > at com.android.traceview.MainWindow.main(MainWindow.java:187) > > On Apr 3, 8:12 pm, fadden <[email protected]> wrote: > > > On Apr 3, 2:08 am, Magnus <[email protected]> wrote: > > > > m...@labbe:/tmp$ traceview gldraw.trace > > > Exception in thread "main" java.lang.RuntimeException: Method exit > > > (java/lang/BootClassLoader.getInstance ()Ljava/lang/BootClassLoader;) > > > does not match currentmethod (dalvik/system/VMDebug.startClassPrep () > > > V) > > > There's a bug in 1.0 where, if you gathered traces while a debugger > > was attached, some of the data would be missing from the trace file. > > If you've been profiling and debugging at the same time, try it > > without a debugger attached. (DDMS is okay.) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

