As much as I love GDB dearly and rely on it regularly you might want to have a look at netbeans.apache.org which is also free and a more general fancy UI IDE. If it's a web site you're developing for example it will let you fire up a browser, put breakpoints in the php code, and examine variables etc.
It's a little more complicated to set up than just using GDB but not too bad (hint: install the Chrome browser ZDebug/XDebug/whateveritis extension they recommend, and/or Firefox, or netbeans has a built-in browser tho you probably want to know how your code works with chrome and/or ff not their browser other than initial devpt.) P.S. I generally edit my code with emacs. Netbeans notices a file has changed and reloads -- it's magic (aka inotify(7)) tho use one (IDE editing) or the other (emacs/vi/joe/jove/pico/externaleditor.) The latest releases of netbeans (12.x) have gotten very good but once in a while you just have to exit and restart it ("a communication failure has occurred...") but no big deal just restart it, it remembers your breakpoints etc., just to save you five minutes of WTF?! -- -Barry Shein Software Tool & Die | b...@theworld.com | http://www.TheWorld.com Purveyors to the Trade | Voice: +1 617-STD-WRLD | 800-THE-WRLD The World: Since 1989 | A Public Information Utility | *oo* -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple