Blue Static

MacGDBp 1.3

Posted on May 19, 2009 at 03:51 UTC, filed under the category MacGDBp. Tags: mac os x, MacGDBp, software,

I’m pleased to announce MacGDBp 1.3. This release features a new tool that allows you inspect values in the variables list via a HUD (screenshot below). This inspector will allow you to see long strings and to select/copy text values. To access this feature, go to Window → Inspector (Shift+Cmd+I). The currently-selected variable (which now, in 1.3, remembers itself across debugger stepping) will have its full value displayed in the HUD window.

MacGDBp 1.3 Variable Inspector

Under the hood, there are two significant changes. The first is a rewrite of the receiving side of the socket layer (it now precisely uses the message length when buffering memory), which should eliminate the “buffer is incomplete” errors that occasionally popped up. The second is that the PHP stack will no longer be managed internally. After every debugger step, the entire stack will be now re-created because Xdebug proved to be unpredictable for keeping in sync with an internal state. Debugger actions may now seem a little less snappy, but I think accuracy is more important than speed here. In 1.4 I’m going to use a caching mechanism that will speed up performance by reducing network access.

This release also features a bunch of bug fixes, a couple of which would cause the debugger display to not work under certain circumstances. As always, the change log and commit log have all the details on the release.


Comment by r3trofitted on 2009-05-19 07:11:52 +0000

Thanks (a lot) for this invaluable tool. Keep up the good work!

Comment by Adam on 2009-08-26 09:21:13 +0000

I love the idea of this tool, and will be watching its development closely. Unfortunately, v1.3 crashes for me as soon as the server connects to it. v1.2 didn’t crash at that point for me, but did crash randomly as I stepped through the code.

Thanks for this great tool, though! I’m very much looking forward to seeing where it goes.

Comment by Robert on 2009-08-26 09:23:30 +0000

I released 1.3.1 last night. Please try updating and file a bug if it still does not work.