14

I'm interested in debugging and monitoring a Windows Phone 8 application for which I do not have the source code. Android and iOS can both be rooted/jailbroken, which allows me to use tools like GDB (and others) to debug and monitor a running application, but I'm not aware of anything similar for Windows Phone 8.

Additionaly I want to monitor filesystem activity while running the application (I use Filemon for iOS for this task on iOS). Or is it easier to simply run the application in the Windows Phone 8 simulator and attempt to monitor the app that way?

How do you debug a Windows Phone 8 application without source code?

1 Answer 1

7

With source

You could use something like XAPSpy and Tangerine on Github which is updated to work with WP8. It may work without source not sure.

XAPSpy Source: Github.

Without source

Something more advanced is need something more like Windows Phone App Analyser

Download/Source: SourceForge

I would imagine you could use them both together by decompliling the .xap you are working with with WPPA and then using XAPSpy on that source. I've never tried that though.

Sadly if you are dealing with a newer app you won't be able to decompile it as they are encrypted. You might be able to somehow get the keys out of the operating system but that would be difficult as well.

Here is a set of slides on the topic: Inspection of Windows Phone Applciations that goes into some detail about tangerine.

3
  • 1
    These tools are only for Windows Phone 7 (according to their respective websites). I am interested in Windows Phone 8 application analysis/monitoring.
    – Mick
    Commented May 9, 2013 at 18:58
  • I expect they are the same except for the fact that WP8 .xap are encrypted in which case you are out of luck. While the kernel and such are very different the userspace is probably alot the same between WP7 and WP8.
    – cb88
    Commented May 9, 2013 at 19:03
  • 1
    Found one that works with WP8 for sure clearly it is a problem that is actively being worked on. Supposedly Tangerine can remove the signage.. so perhaps that is how they can get hooks into the app?
    – cb88
    Commented May 9, 2013 at 20:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.