Traceview: trace file not found

by Graham Morehead » Mon, 03 Nov 2008 05:39:34 GMT


Sponsored Links
 In an attempt to debug my app, I was trying to use 'traceview' (one of
the apps in the the android SDK).  In the windows edition of the SDK
version 1.0, the executable is 'traceview.bat'.  I was able to get a
tracefile by using the 'android.os.Debug' package and using
Debug.startMethodTracing("basename"); and Debug.stopMethodTracing();
in my code.  I created a virtual sdcard for the emulator to use, and
then I ran the app on the emulator and was successful in creating a
trace file, which I pulled to a directory.  Here was my problem:
Whenever I tried to view the trace using 'traceview.bat', it said that
the file is not found.  This was hard to understand since I specified
the right directory.  I even went into that directory.  It still
couldn't find it.  I finally resolved it when I specified the whole
path using the notation  "C:/topdir/nextdir/... etc."  If you're not
familiar with Cygwin (a Unix shell for windows), you also have the
choice of specifying a path with "/cygdrive/c/topdir/...", but
'traceview' won't parse that.

Hope this helps someone.  It stalled me for hours.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Android Market: New country/region pricing - non-US sales drop to zero

Hard to say from the outside if this is connected, but...

After setting a variety of country/region pricing in the Android
Market console - GBP, EUR and so forth - I continue to see sales in
USD only, at the USD price point of $2.99. I'd expect sales in other
currencies, or the exchange rate equivalent, but there's none of that.
After enjoying a constant stream of purchases from outside the US,
such sales are completely gone now. How I can tell? 90%+ of sales for
the app are from outside the US, mostly the UK, where the app is
targeted at. This is going on for a few days now where sales have
abruptly approached zero.
This is on an US based account - anybody else seeing this?

-- 

2. Device Serial #

When downloading from eclipse to a device - eclipse displays
a serial# associated with the device.

this serial# seems to be different than the Connectivity getDeviceID()
string.

where does it get that serial# from.

-- 

3. NmeaListener not working in 2.3.3

4. how to develope online video

5. Are you submitting your app to more than just the Android Market?

6. Creating a class and migrating causes NullPointerException

7. OTA Gingerbread 2.3.3 for N1 ?