On 06/17/2011 04:06 PM, Farrukh Najmi wrote:
>
> I was able to get debugging working just fine. What I did not realize
> is that I must have the app running before I can connect to it using
> the app's debug port. Doh!
>
> Here is what I did:
>
> * Start the app on device
> * Run $ANDROID_HOME/tools/ddms manually in background. It brings
> up this useful Dalvik Debug Monitor
> * Lookup my app in ddms and get its debug port
> * In NB 6.9.1 do: Debug / Attach Debugger and specify the port
> looked up in ddms (leave rest as defaults). Click OK
>
> The app is now being debugged!
>
That's cool. Farrukh, would you mind writing a very short tutorial to be
posted at
netbeans.dzone.com? I must say I'm using NetBeans and the
Maven Android plugin since one year, but I never tried the debugger.
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
Fabrizio...@tidalwave.it