Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
Reporter ?
Adam DiCarlo
Product/Version ?
MacGDBp / 1.3.1
Status ?
Closed
Severity ?
Major
Duplicate Of ?
- none -
Fixed in Revision ?
Mstone ?
Summary ?
Can't set breakpoints in not-yet open files
Report Time ?
November 26, 2009 08:16 PM
Assignment ?
Resolution ?
Invalid
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


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....

November 27, 2009 03:06 AM Robert
Go to Window --> Breakpoints (Cmd+Shift+B) and you can set breakpoints for unopened files.

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.