Hi Felix,
> 1) It looks like when the session starts, the current file is fetched
> (i guess via ssh?) into a temporary emacs buffer. I have the stuff
> that's being debugged also locally. Is there a way to specify a path-
> mapping, like this is seen in the eclipse pdt debugger for example?
I'm not sure what `path-mapping' really means.
If you're asking whether you can make geben to use original source file
directly, the answer is `no' at this moment.
Sometimes I want that feature, too. Especially when geben takes time
to fetch a large file. (The fetching is done through the dbgp protocol).
Once geben had treated files in that way, but I've eliminated it, as I thought
it would be more painful for average users when they wanted to edit
debugee files during a debugging session.
So, if there would be big reasons, the direct referring feature won't be brought
back.
> 2) How can I set a breakpoint in a file that's not currently open, but
> I know that control flow will pass there sooner or later?
It's not implemented, yet.
There are functions that each debugger engine provides, including breaking
a running session. It would be an easier way to do.
For python, dbgp.client.brk() is it. And For PHP, it's xdebug_break().
Regards,
reedom