News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kevin Schroeder's Blog:
Debugging a mobile app
October 18, 2010 @ 08:45:06

Kevin Schroeder has been working on a Zend Framework-based mobile application (Android) and ran up against a debugging issue that he would normally solve with features of his IDE, but since those weren't available on the device, he got a bit more creative.

The solution is similar to what I did with Debugging an RPC call in Zend Framework. What this does is set the cookies from the remote browser to debug on the local instance of the Zend debugger. To kick it off simply open up the URL to the debug kickoff page. That will set the cookies in your mobile browser. Then go to the page that you want to debug from your mobile phone and reload it.

He includes the code you'll need (a method to drop into your Controller) to make that debugging work. It sets up an array of cookie values and, when the page to debug is reloaded, those values will be set again and the IDE (in his case, Zend Studio) will catch them as a key to start debugging.

0 comments voice your opinion now!
zendstudio debug mobile application zendframework


blog comments powered by Disqus

Similar Posts

Michelangelo van Dam's Blog: Bughuntday: yes, you can!

Nick Halstead's Blog: Zend Framework RC1 and Zend ACL usage

TheTechLabs.com: Integrate Flex Builder 3.0 & Php easily with the fresh ZendAMF

CodeSnipers.com: Caveman PHP Debugging

Dhiraj Patra's Blog: Getting Started with iPFaces PHP Mobile Application Framework


Community Events

Don't see your event here?
Let us know!


community language feature podcast laravel series wordpress release threedevsandamaybe unittest extension opinion framework laravel5 interview library introduction development api voicesoftheelephpant

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework