Not signed in (Sign In)

Categories

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

    • CommentAuthorrickbsgu
    • CommentTimeFeb 13th 2010
     
    Hi -

    So far, I've gotten this to see the initial page, step into other source files, and set breakpoints. Way cool.

    However, I need to be able to open a file on the site, arbitrarily, set a breakpoint, and then go.

    Does MacGDBp support this? I've looked at the 'Path' settings in the preferences, but I'm not sure exactly how they're supposed to work - I can't find any reference to it in the documentation. Does MacGDBp expect the source to reside at the local path, or will it copy to the local path specified? I have a lot of links in my remote path (primarily to switch from development/debug version to published version. Does that mess things up?

    Sorry if this has been covered elsewhere. A link to reference would be helpful.

    Thanks,
    rickb
    •  
      CommentAuthorRobert
    • CommentTimeFeb 15th 2010
     
    Hi, sorry for the lack of documentation with regards to the "Paths" preferences. Basically, it allows you to have a local copy of some remote source and then does path transformation:

    The path replacement system works by transforming a path on your local computer into the one on the remote server. The only time this needs to happen is when breakpoints are set; all other operations that involve source code are now done via Xdebug (including viewing source). When you add a breakpoint path, it will replace all the "local paths" from the replacements pane to create the remote path of the source code.

    For example, if I were debugging a remote website where the local source was on my computer, this is how I'd set it up:

    Local Path (OS X): /Users/Robert/Sites/website
    Remote Path (Linux web host): /home/hosting_company/public_html