# Dev Studio - Debug  -Launching GDB server fails then crashes

**URL:** <https://forum.sierrawireless.com/t/dev-studio-debug-launching-gdb-server-fails-then-crashes/11931>\
**Category:** Uncategorized\
**Created:** [May 29, 2014, 5:49pm UTC](https://forum.sierrawireless.com/t/dev-studio-debug-launching-gdb-server-fails-then-crashes/11931 "2014-05-29T17:49:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnofleek](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/johnofleek/32/4726_2.png) [@johnofleek](https://forum.sierrawireless.com/u/johnofleek)\
**Post date:** [May 29, 2014, 5:49pm UTC](https://forum.sierrawireless.com/t/dev-studio-debug-launching-gdb-server-fails-then-crashes/11931/1 "2014-05-29T17:49:04Z")

</div>

Hi

Remote system explorer seems ok I can start ssh and interact with the target  
When I try to debug my app I see:

> [@](#):
>
> Launching GDB server: ensure you have set the GDB port

Then after a while Dev studio crashes

I have set port to 1234 - is this correct? i also called it () the same name as the app

This is what happens after dev studio crashes

> [@](#):
>
> Executable path  
> /opt/java/64/jre1.7.0\_55/bin/java
> 
> The crashed program seems to use third-party or local libraries:
> 
> /home/john/devStudio/configuration/org.eclipse.osgi/bundles/180/1/.cp/libswt-cairo-gtk-4333.so  
> /home/john/devStudio/configuration/org.eclipse.osgi/bundles/271/1/.cp/os/linux/x86\_64/libspawner.so  
> /home/john/devStudio/configuration/org.eclipse.osgi/bundles/180/1/.cp/libswt-atk-gtk-4333.so  
> /home/john/devStudio/configuration/org.eclipse.osgi/bundles/59/1/.cp/os/linux/x86\_64/libunixfile\_1\_0\_0.so  
> /home/john/devStudio/configuration/org.eclipse.osgi/bundles/180/1/.cp/libswt-pi-gtk-4333.so  
> /home/john/devStudio/configuration/org.eclipse.osgi/bundles/180/1/.cp/libswt-gtk-4333.so  
> /home/john/devStudio/plugins/org.eclipse.equinox.launcher.gtk.linux.x86\_64\_1.1.200.v20130807-1835/eclipse\_1506.so

Am I using the wrong java?

Something else?

Thanks in advance

John

---

<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:** [June 2, 2014, 7:03am UTC](https://forum.sierrawireless.com/t/dev-studio-debug-launching-gdb-server-fails-then-crashes/11931/2 "2014-06-02T07:03:09Z")

</div>

No idea on why java is crashing…  
Anyway, did you specified the debug port in the Project Properties \> Legato Application \> Build Settings?

---

<div class="post-metadata">

**Author:** ![johnofleek](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/johnofleek/32/4726_2.png) [@johnofleek](https://forum.sierrawireless.com/u/johnofleek)\
**Post date:** [June 2, 2014, 7:14pm UTC](https://forum.sierrawireless.com/t/dev-studio-debug-launching-gdb-server-fails-then-crashes/11931/3 "2014-06-02T19:14:25Z")

</div>

Hi Daav

I have no idea why it’s crashing either 😆 from past experience odd behaviour is normal for dev studio

I added a debug port as per my post

After the crashes I found that the workspace was corrupted (would no longer load) - I have seen that happen in the past with earlier Dev Studios

Creating a new workspace got me going again - I’ve given up on debug for now. I can manage with code, blow and terminal debug op from the Remote system explorer - Application manager / LegatoConsole

John
