# start gdbserver

**URL:** <https://forums.digi.com/t/start-gdbserver/12895>\
**Category:** Linux\
**Tags:** debug\
**Created:** [May 2, 2014, 10:37am UTC](https://forums.digi.com/t/start-gdbserver/12895 "2014-05-02T10:37:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![craig.jamieson](https://avatars.discourse-cdn.com/v4/letter/c/e9bcb4/32.png) [@craig.jamieson](https://forums.digi.com/u/craig.jamieson)\
**Post date:** [May 2, 2014, 10:37am UTC](https://forums.digi.com/t/start-gdbserver/12895/1 "2014-05-02T10:37:41Z")

</div>



---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [June 2, 2014, 8:45pm UTC](https://forums.digi.com/t/start-gdbserver/12895/2 "2014-06-02T20:45:41Z")

</div>

if you debugging from DigiESP it should start it automatically, otherwise you can start it manually from the console or shell:  
gdbserver :4321 /usr/bin/hello\_wrold

and on your development system did:

gdb  
target remote :4321

symbol-file

AND:

(gdb) b main  
Breakpoint 1 at 0x844c: file hello\_world.c, line 22.  
(gdb) c
