This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DS-5 Android Native code debugging

Note: This was originally posted on 11th May 2012 at http://forums.arm.com

Hello,

I'm trying to set a debugger for my native library for 2weeks now, searching different ways to do this.
I finally found the DS-5 Debugger, which seems to be the only one that may be working on my configuration.

I followed the process explained on this link: http://www.arm.com/p...ition-debug.php,
But I'm stuck with this error message:
C:\Users\InstallEclipse\AppData\Local\Temp\@1336750614160#1760996348-temp\com\arm\rddi\windows.x86\msvcp71.dll: Can't find dependent libraries


I have no idea how to resolve this.. Can anyone help me?
I'm on windows7 x64, with the android-ndk-r7c, and the latest android-sdk. I've got a 32bit Eclipse IDE, with the ADT, CTD, Sequoyah, and of course, the DS-5 plugin.

This is the complete log for my error:
!SESSION 2012-05-11 17:36:12.397 -----------------------------------------------
eclipse.buildId=M20120208-0800
java.version=1.7.0_04
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.ui.workbench 2 0 2012-05-11 17:36:21.153
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2012-05-11 17:36:21.153
!MESSAGE Conflict for 'org.eclipse.debug.ui.commands.OpenDebugConfigurations':
HandlerActivation(commandId=org.eclipse.debug.ui.commands.OpenDebugConfigurations,
handler=ActionDelegateHandlerProxy(null,org.eclipse.debug.internal.ui.actions.OpenDebugConfigurations),
expression=AndExpression(ActionSetExpression(org.eclipse.debug.ui.launchActionSet,org.eclipse.ui.internal.WorkbenchWindow@1684179),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1684179)),sourcePriority=16640)
HandlerActivation(commandId=org.eclipse.debug.ui.commands.OpenDebugConfigurations,
handler=ActionDelegateHandlerProxy(null,org.eclipse.debug.internal.ui.actions.OpenDebugConfigurations),
expression=AndExpression(ActionSetExpression(com.arm.debugger.launchActionSet,org.eclipse.ui.internal.WorkbenchWindow@1684179),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1684179)),sourcePriority=16640)

!ENTRY org.eclipse.osgi 2 1 2012-05-11 17:36:21.408
!MESSAGE NLS missing message: AddNativeWizard__Message_UnexpectedErrorWhileAddingNativeSupport in: org.eclipse.sequoyah.android.cdt.internal.build.ui.messages

!ENTRY org.eclipse.osgi 2 1 2012-05-11 17:36:21.410
!MESSAGE NLS missing message: JNI_C_FILES_CREATION_MONITOR_TASK_NAME in: org.eclipse.sequoyah.android.cdt.internal.build.ui.messages

!ENTRY org.eclipse.core.jobs 4 2 2012-05-11 17:36:55.674
!MESSAGE An internal error occurred during: "Launching GRAAL".
!STACK 0
java.lang.UnsatisfiedLinkError: C:\Users\InstallEclipse\AppData\Local\Temp\@1336750614160#1760996348-temp\com\arm\rddi\windows.x86\msvcp71.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.arm.rddi.RDDI.loadJNI(RDDI.java:91)
at com.arm.rddi.RDDI.open(RDDI.java:169)
at com.arm.rddi.RDDI.open(RDDI.java:152)
at com.arm.debug.dtsl.ConnectionManager.getAddressFromConfigurationFile(ConnectionManager.java:288)
at com.arm.debug.dtsl.ConnectionManager.getAddress(ConnectionManager.java:258)
at com.arm.debug.dtsl.ConnectionManager.getConnection(ConnectionManager.java:366)
at com.arm.debug.dtsl.ConnectionManager.openConnection(ConnectionManager.java:75)
at com.arm.debug.targetaccess.device.DTSLConnection.createConnection(DTSLConnection.java:63)
at com.arm.debug.targetaccess.device.DTSLConnection.connect(DTSLConnection.java:50)
at com.arm.debug.service.DebugService$2.run(DebugService.java:247)
at com.arm.debug.service.DebugService$2.run(DebugService.java:1)
at com.arm.debug.service.SingleThreader$QueuedCall.run(SingleThreader.java:57)
at com.arm.debug.service.SingleThreader$1.run(SingleThreader.java:120)



Thanks in advance =)
  • Note: This was originally posted on 14th May 2012 at http://forums.arm.com

    Hello, and thanks for this answer,


    I installed the .NET framework 1.1 as you said (.NET framework 1.1 Redistribuable, .NET framework 1.1, and .NET framework 1.1 Service Pack 1) ,
    But I still haven't msvcp71.dll in my system32 folder, and consequently, the same error occured, when I launched the debugger.

    EDIT:
    In fact, in the
    [size=2]C[/size][color=#666600][size=2]:\[/size][/color][color=#660066][size=2]Users[/size][/color][color=#666600][size=2]\[/size][/color][color=#660066][size=2]InstallEclipse[/size][/color][color=#666600][size=2]\[/size][/color][color=#660066][size=2]AppData[/size][/color][color=#666600][size=2]\[/size][/color][color=#660066][size=2]Local[/size][/color][color=#666600][size=2]\[/size][/color][color=#660066][size=2]Temp[/size][/color][color=#666600][size=2]\@[/size][/color][color=#006666][size=2]1336750614160[/size][/color][color=#880000][size=2]#1760996348-temp\com\arm\rddi\windows.x86\msvcp71.dll [/size][/color]
    file is present in the folder (copied from the jdk/bin folder I assume...)

    Do you have an idea? I'm completely lost at this time...
  • Note: This was originally posted on 14th June 2012 at http://forums.arm.com

    Hi, i have the _same_ problem! I have already installed Microsoft .NET Framework 1.1 sp1.

    My system is:
    - Windows XP 32bit
    - Eclipse Indigo 32bit

    Best Regards.