(I'm not sure why you install the SDK and plugin if you're going to work from the open source tree. You could have started at step 4)
Did you make sure to select the browser in DDMS (since you use the plugin, use the DDMS perspective in Eclipse). The 8700 port is for the application selected in the device view in Eclipse. If another application if selected then you're probably debugging a different application. Xav On Mon, Apr 6, 2009 at 4:52 PM, Alice <[email protected]> wrote: > > I am new in Android, need some help on debugging with DDMS on Ganymede > Eclipse. > > The problem I am having is that some breakpoints are getting hit and > some are NOT. Not sure what exactly is the reason. > > Overall setup: > > 0. I have a linux m/c with Ubuntu 8.10 (interpid) > > 1. Installed SDK version 1.1 for Linux > > 2. I installed Ganymede eclipse 3.4.2. Installed the ADT plugin using > the steps as in > http://developer.android.com/sdk/1.1_r1/installing.html#installingplugin. > > 3. Obtained cupcake code using repo client and built it successfully > as mentioned in http://source.android.com/download. Configured Eclipse > as mentioned in http://source.android.com/using-eclipse. > > 4. Then I followed the steps "Debugging the emulator with Eclipse" in > http://source.android.com/using-eclipse > > 5. I launch emulator from <android-root>/out/host/linux-x86/bin/ > emulator. Setup proxy etc. > > 6. I was trying to debug browser application and putting some > breakpoints in WebView.java files namely in loadUrl() and loadData() > functions. I launch browser and it displays the homepage (say, www.google.com) > correctly. Then I create a Debug Config for brower application with > Host = localhost and Port = 8700. And select Debug. > > 7. I then select Menu > Refresh to check if breakpoints are hit. > > The issue is it is NOT hit. > > Another point to clarify is that the build and the code are in synch > as I didn't make a change in the code. But though I see sometimes > control goes thru comments .. not sure how. > > Any input on what could actually be going wrong will be highly > appreciated! > > > > -- Xavier Ducrohet Android Engineer, Google. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

