*"I'm a bit confused here. After making the ddms _plugin_ compile in Eclipse, you are launching the standalone version from the sdk..."*
You mean to say no need to start DDMS separately ! ( if not cannot connect to VM: connection refused error !) *You probably shouldn't have copied them. btw we fixed the scripts so running them will do the proper thing (ie make symlinks so that if you modify them, Eclipse will build the plugin with the newer version).* i have no errors in eclipse now, either with jar files or with compiler compliance. *You may want to see what native library/jar you are missing by experiment. For information SWT comes from here: http://archive.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/index.php#swt * i have tried SWT from there(replace- error remains same) .. may i know what else lib/jar need to be tried? *What are you trying to debug? an android application built with the SDK or the ddms plugin?* I want to debug an android application built with the SDK say (IM).. I think my understanding also wrong (sorry for being noobish),let me summarize the steps needed for debugging... 1.Latest source code compiled succesfully with a working emulator. 2.ddms plugin added in eclipse. 3.lauch DDMS and emulator in separate terminals !! ? 4.connect using 8700 port (*considering my break point is in ImApp.java !!!) Please help to correct the steps if am going in wrong direction..... Thanks in Advance Steve On Sat, Dec 6, 2008 at 3:48 PM, Anonymous Anonymous < [EMAIL PROTECTED]> wrote: > i have downlaoded > swt(swt-3.2.2-gtk-linux-x86.zip<http://archive.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/download.php?dropFile=swt-3.2.2-gtk-linux-x86.zip> > ) again and replaced libs and jars in lib and framework folder and it seems > the error reamins same !!! > > > --------------------------------------------------------------------------------------------------------------------------- > 13:55 E/ddms: shutting down due to uncaught exception > 13:55 E/ddms: java.awt.AWTError: Assistive Technology not found: > org.GNOME.Accessibility.JavaBridge > at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:788) > at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:874) > at > sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:131) > at > javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1564) > at > javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:147) > at > javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1599) > at javax.swing.UIManager.setLookAndFeel(UIManager.java:545) > at javax.swing.UIManager.setLookAndFeel(UIManager.java:585) > at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1334) > at javax.swing.UIManager.initialize(UIManager.java:1421) > at javax.swing.UIManager.maybeInitialize(UIManager.java:1409) > at javax.swing.UIManager.getDefaults(UIManager.java:659) > at javax.swing.UIManager.getColor(UIManager.java:701) > at org.jfree.chart.JFreeChart.<clinit>(JFreeChart.java:252) > at org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:826) > at com.android.ddmuilib.HeapPanel.createChart(HeapPanel.java:599) > at com.android.ddmuilib.HeapPanel.createControl(HeapPanel.java:371) > at com.android.ddmuilib.Panel.createPanel(Panel.java:29) > at com.android.ddms.UIThread.createRightPanel(UIThread.java:1227) > at com.android.ddms.UIThread.createTopPanel(UIThread.java:982) > at com.android.ddms.UIThread.createWidgets(UIThread.java:831) > at com.android.ddms.UIThread.runUI(UIThread.java:377) > at com.android.ddms.Main.main(Main.java:97) > > -------------------------------------------------------------------------------------------------------------------------------------------------------- > > thanks > steve > > > On Sat, Dec 6, 2008 at 11:43 AM, Anonymous Anonymous < > [EMAIL PROTECTED]> wrote: > >> I am trying to debug IM application.Just to understand the current code >> flow.. >> >> Thanks >> Steve >> >> >> On Sat, Dec 6, 2008 at 11:28 AM, Xavier Ducrohet <[EMAIL PROTECTED]> wrote: >> >>> >>> What are you trying to debug? an android application built with the >>> SDK or the ddms plugin? >>> >>> Xav >>> >>> On Fri, Dec 5, 2008 at 7:31 PM, Anonymous Anonymous >>> <[EMAIL PROTECTED]> wrote: >>> > Hi Xav, >>> > >>> > Sorry for the confusion let me explain once again. >>> > >>> > 1.using repo get full source >>> > 2.Add project in Eclipse say "Myandroid" >>> > 2.Now add the ddms plugin as we discussed earlier. >>> > (i have copied 3 jar files to /libs folder to resolve errors in >>> eclipse) >>> > >>> > Now am thinking to attach ( mission debug) as per the document >>> > (http://source.android.com/using-eclipse) >>> > 1. Lauch ddms.... (/out/host/linux-x86/bin) is this not correct? >>> > *throws exception >>> > >>> > *or is there any other way i can debug !! >>> > >>> > thanks >>> > steve >>> > >>> > >>> > >>> > >>> > >>> > On Sat, Dec 6, 2008 at 8:53 AM, Xavier Ducrohet <[EMAIL PROTECTED]> >>> wrote: >>> >> >>> >> I'm a bit confused here. After making the ddms _plugin_ compile in >>> >> Eclipse, you are launching the standalone version from the sdk... >>> >> >>> >> >>> >> On Fri, Dec 5, 2008 at 7:10 PM, Anonymous Anonymous >>> >> <[EMAIL PROTECTED]> wrote: >>> >> > Hi guys, >>> >> > >>> >> > Now no erros :) >>> >> > >>> >> > btw now ddms fails to load... :( >>> >> > >>> >> > i have created com.android.ide. >>> >> >> >>> >> >> eclipse.ddms/libs/ folder and copied the required *.jar files from >>> >> >> /out/host/linux-x86/framework/ .. >>> >> >>> >> You probably shouldn't have copied them. btw we fixed the scripts so >>> >> running them will do the proper thing (ie make symlinks so that if you >>> >> modify them, Eclipse will build the plugin with the newer version). >>> >> >>> >> > 2. now goto >>> >> > /out/host/linux-x86/bin >>> >> > and ran ./ddms >>> >> > >>> >> > gettign the below exception ! am i missing something again ... >>> >> > >>> >> > >>> >> > >>> --------------------------------------------------------------------------------------------------------------------- >>> >> > (ddms:12939): Gdk-WARNING **: gdk_window_set_icon_list: icons too >>> large >>> >> > 45:45 E/ddms: shutting down due to uncaught exception >>> >> > 45:45 E/ddms: java.awt.AWTError: Assistive Technology not found: >>> >> > org.GNOME.Accessibility.JavaBridge >>> >> > at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:788) >>> >> >>> >> This is quite surprising. >>> >> In prebuilt/Linux/swt there is the Linux version of SWT. we >>> >> selectively take some of those files during the build and put them in >>> >> out/host/Linux/lib (for the native libs) and out/host/Linux/framework >>> >> for the jar files. >>> >> You may want to see what native library/jar you are missing by >>> >> experiment. For information SWT comes from here: >>> >> >>> >> >>> http://archive.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/index.php#swt >>> >> >>> >> Xav >>> >> >>> >> >>> > >>> > >>> > > >>> > >>> >>> >>> >>> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---