# Debugging with Developer Studio?

**URL:** <https://forum.sierrawireless.com/t/debugging-with-developer-studio/13241>\
**Category:** Development tools\
**Created:** [July 23, 2018, 6:54am UTC](https://forum.sierrawireless.com/t/debugging-with-developer-studio/13241 "2018-07-23T06:54:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![karlkuhn](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@karlkuhn](https://forum.sierrawireless.com/u/karlkuhn)\
**Post date:** [July 23, 2018, 6:54am UTC](https://forum.sierrawireless.com/t/debugging-with-developer-studio/13241/1 "2018-07-23T06:54:50Z")

</div>

Hi, I originally posted this on the legato forums, but I think this might be more of a Developer Studio related issue.

I am trying to debug my FX30s. I have a legato app that uses a shared library that I built with the cross compile tools (from command line). It all builds and runs OK, but when I try and debug it, GDB complains that it can’t load the symbols and exits.

Error messages below

> GNU gdb (GDB) 7.7.1  
> Copyright © 2014 Free Software Foundation, Inc.  
> License GPLv3+: GNU GPL version 3 or later [The GNU General Public License v3.0 - GNU Project - Free Software Foundation](http://gnu.org/licenses/gpl.html)  
> This is free software: you are free to change and redistribute it.  
> There is NO WARRANTY, to the extent permitted by law. Type “show copying”  
> and “show warranty” for details.  
> This GDB was configured as “–host=i686-pokysdk-linux --target=arm-poky-linux-gnueabi”.  
> Type “show configuration” for configuration details.  
> For bug reporting instructions, please see:  
> [Bugs in GDB](http://www.gnu.org/software/gdb/bugs/).  
> Find the GDB manual and other documentation resources online at:  
> [GDB Documentation](http://www.gnu.org/software/gdb/documentation/).  
> For help, type “help”.  
> Type “apropos word” to search for commands related to “word”.  
> warning: Unable to find dynamic linker breakpoint function.  
> GDB will be unable to debug shared library initializers  
> and track explicitly loaded dynamic code.  
> **\> Cannot access memory at address 0x0**  
> **\> warning: Could not load shared library symbols for 9 libraries, e.g. /bin/…/lib/libDL4Api-Linux.so.**  
> **\> Use the “info sharedlibrary” command to see the complete listing.**  
> **\> Do you need “set solib-search-path” or “set sysroot”?**  
> Quit

So I am not sure what I am doing wrong? On the “Executables” tab the libraries are shown along with all source information on the right.

I am using DS 5.0.0 and LF 16.10.1

Do I need to build this in a particular way?  
Any def files entries required?  
I assume I should be able to debug this even though I am using my shared library?  
I can’t see where I might add the suggested arguments in Developer Studio?

Any help is appreciate.

Thanks,  
Karl

---

<div class="post-metadata">

**Author:** ![daav](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/daav/32/2767_2.png) [@daav](https://forum.sierrawireless.com/u/daav)\
**Post date:** [August 6, 2018, 8:25am UTC](https://forum.sierrawireless.com/t/debugging-with-developer-studio/13241/2 "2018-08-06T08:25:35Z")

</div>

Hi @karlkuhn

At first, I would suggest you to upgrade to latest DS version (5.3.1)  
It will still be compatible with your environment.

---

<div class="post-metadata">

**Author:** ![karlkuhn](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@karlkuhn](https://forum.sierrawireless.com/u/karlkuhn)\
**Post date:** [August 6, 2018, 8:46am UTC](https://forum.sierrawireless.com/t/debugging-with-developer-studio/13241/3 "2018-08-06T08:46:09Z")

</div>

Thanks @daav, I tried that as way to get it working. With no luck unfortunately.

I’ve also update to 16.10.1.m3 FW and AF…

Any ideas?

Thanks,

KArl
