# Problem with debugging

**URL:** <https://forums.foundationdb.org/t/problem-with-debugging/538>\
**Category:** Development\
**Created:** [July 3, 2018, 8:03am UTC](https://forums.foundationdb.org/t/problem-with-debugging/538 "2018-07-03T08:03:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmanukyan](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/vmanukyan/32/329_2.png) [@vmanukyan](https://forums.foundationdb.org/u/vmanukyan)\
**Post date:** [July 3, 2018, 8:03am UTC](https://forums.foundationdb.org/t/problem-with-debugging/538/1 "2018-07-03T08:03:44Z")

</div>

Hi Guys,

I’m working on mac and trying to debug c++ part of fdb.  
I’m running “.debug” versions of fdbserver/fdbcli with gdb, but it doesn’t stop on breakpoints.

Regards,  
Vruyr

---

<div class="post-metadata">

**Author:** ![alexmiller](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/alexmiller/32/326_2.png) [@alexmiller](https://forums.foundationdb.org/u/alexmiller)\
**Post date:** [July 3, 2018, 8:37am UTC](https://forums.foundationdb.org/t/problem-with-debugging/538/2 "2018-07-03T08:37:57Z")

</div>

.debug files aren’t executable, they only hold the debugging symbols that were stripped out of fdbserver.

Otherwise, I’m unsure what advice to offer. I `gdb --args ./bin/fdbserver -r simulation ...` pretty regularly, so I’m pretty sure it works on at least one system? 😕
