[Dltk-dev] source path computing
could i please get a quick overview of how this works?
right now, remote debugging is kind of useless unless the file that is currently being debugged actually exists on the client machine in the same location as it does on the remote machine. what really should happen (i think) is if the incoming session is remote, then the source should be queried for using the dbgp 'source' command and then once the debugging session is finished, the user should be able to edit the file (i would actually like to have the option to edit it while the debugger is going, but that's for another day) and then save it to a location of their choosing.
i think it would be nice if the remote file could be mapped back into the project being debugged itself, but that may prove to be difficult if a file of the same name and namespace exists in multiple locations (this method is employed by the day job to simulate interface type implementations in perl), so for now, just being able to retrieve the remote source would be nice, and it seems that the source path computer and/or lookup director is the place for this.