Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0
November 26, 2009 08:16 PM
Adam DiCarlo
I can't open files in MacGDBp in order to set breakpoints in PHP files that have not yet executed any code during the debugging session.
(Or am I missing something?)
When debugging Drupal modules, for instance, tracing through the core code until your module's file gets included is a pretty long process....
(Or am I missing something?)
When debugging Drupal modules, for instance, tracing through the core code until your module's file gets included is a pretty long process....
November 27, 2009 03:06 AM
Robert
Go to Window --> Breakpoints (Cmd+Shift+B) and you can set breakpoints for unopened files.
On November 27, 2009 03:06 AM, Robert changed:
- Status from "Unconfirmed" to "Closed"
- Resolution from "Open" to "Invalid"
November 28, 2009 06:18 AM
Adam DiCarlo
Oh. Okay, thanks, and sorry about that. I didn't expect a file picker to be there. I expected it to be in the File menu.
It'd be nice to have something on the Help page about this and about the fact that MacGDBp needs to be invoked via Xdebug. I first tried MacGDBp months ago and couldn't make sense of how to start a debugging session... it really turned me off. I tried it again the other day and noticed "remote_autostart" setting on the Help page, so I figured out how to start a session.
I'd already configured Xdebug to use with Eclipse, so I paid no mind to the Xdebug configuration shown. (And I had no idea there was an autostart option in Xdebug.)
The point, I guess, is that I spent lots of time digging through MacGDBp's menus, and didn't see anything about "How to start a session" on the help page, so I just gave up the first time I used this program.
Hope this feedback helps.
It'd be nice to have something on the Help page about this and about the fact that MacGDBp needs to be invoked via Xdebug. I first tried MacGDBp months ago and couldn't make sense of how to start a debugging session... it really turned me off. I tried it again the other day and noticed "remote_autostart" setting on the Help page, so I figured out how to start a session.
I'd already configured Xdebug to use with Eclipse, so I paid no mind to the Xdebug configuration shown. (And I had no idea there was an autostart option in Xdebug.)
The point, I guess, is that I spent lots of time digging through MacGDBp's menus, and didn't see anything about "How to start a session" on the help page, so I just gave up the first time I used this program.
Hope this feedback helps.