Not signed in (Sign In)

Categories

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorkelsey
    • CommentTimeFeb 13th 2010
     
    I apologize if this is covered somewhere in the documentation, but I would like to add breakpoints in MacGDBp from my favorite text editor. If I'm looking at a block of code in my editor, I can either hard-code the breakpoint with xdebug_break(), or I have to switch away from my editor, browse to the file and line and add a breakpoint in the MacGCBp interface.

    I think it would be really cool if there were some sort of applescript hooks in MacGDBp so that you could add a breakpoint from an external program.

    For example, in TextMate I could bind a key which would do something like this to set a breakpoint at the current line I'm looking at in the editor.

    /Applications/MacGDBp/Scripts/macgdbp_add_breakpoint --file=${TM_FILEPATH} --line-number=${TM_CURRENT_LINE}
    •  
      CommentAuthorRobert
    • CommentTimeFeb 15th 2010
     
    This has been suggested before and I do think it would be useful. It'd be best if you filed this as a feature request so it doesn't get lost in the forum.