Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] remote source lookup code comitted

hello all -

  i just finished checking in the remote source lookup code i have been working on. it's all new code, so the impact shouldn't be too big. i've wired up the tcl and ruby plugins to use the new 'local' source lookup code, but if you encounter problems you can revert the the previous lookup director by changing the lines in the plugin.xml from this:

     <extension
        point="org.eclipse.debug.core.sourceLocators">
        <sourceLocator
           class="org.eclipse.dltk.launching.sourcelookup.ScriptSourceLookupDirector "
           id="rubySourceLocator"
           name="%RubySourceLocator.name" />
   </extension>

  back to this:

   <extension
        point="org.eclipse.debug.core.sourceLocators ">
        <sourceLocator
           class="org.eclipse.dltk.launching.ScriptSourceLookupDirector"
           id="rubySourceLocator"
           name="%RubySourceLocator.name" />
   </extension>

----

  as of right now, all source is being looked up remotely, but the launch configuration supports specifying a working directory, but i didn't wire that up in the RemoteScriptSourceLookupParticipant (i left a TODO).

  the source is being being retrieve remotely, parsed, and the editor annotations are working, but toggling breakpoints yields no results, so i'm not sure what is missing there.

  please let me know if you have quesitons, etc.

  oh - one other thing i was thinking, but did not investigate fully. it would be nice to include the remote address information in the editor tooltips. i was thinking that information could just be carried along in the IDbgpSessionInfo object.

--
-jae

Back to the top