B2G debugging with GDB really works. No excuses for printf debugging!

Apparently many people still believe that GDB debugging on B2G doesn’t really work. I know about that: I held that wrong opinion until yesterday.

Turns out that my issues were all caused by simple mistakes.

Of all the standard features of a debugger that I have tried, only watchpoints don’t currently work. Everything else works, including setting a breakpoint on a symbol and getting it hit.

So I expanded a little the MDN page on this topic, with a summary of what works and some troubleshooting information.

So if you were having issues with debugging B2G, check if that helps you. If not, please improve this page!


One Response to “B2G debugging with GDB really works. No excuses for printf debugging!”

  1. We have a dedicated commitment to each and every one of our customers. With this in mind we provide prescription sunglasses at some of the most competitive prices online. The prescription sunglasses that we supply have no VAT or postage costs for all UK customers, so the price you see is the price you pay. All of these factors add up to the fact that Aztec Sports Eyewear offers the best service possible when compared to any other sports bifocal prescription sunglasses retailer.

Leave a Reply