gdb is available on mac without compiling using macports or downloading using brew. You do have to sign it yourself though as osx blocks debuggers from debugging without a signature. For windows debugging, we suggest using the community edition of Visual Studio (https://www.visualstudio.com/en-us/products/visual-studio-co...)