At 10:01 AM 7/20/99 -0700, Harold Carr wrote:
>FWIW:
>
>I put other source directories (like the JDK source) in the source path
>of my projects.  However, when I step into JDK source, JDE cannot find a
>project file
>so it resets all JDE values to defaults.  Then when I step back into my
>project 
>JDE cannot find my source files since they have been reset.
>
>The solution is to either put appropriate copies of the project file in
>these
>other locations (not a good solution and very hard to manage) or, what I
>do,
>simply turn off (by commenting out) the reset to default values.
>
>

Another workaround is to set the "default" jde-db-source-directories to
include the source paths of all projects on which you are working. You
could do this by opening your .emacs file, enter M-x customize-variable
jde-db-source-directories to open the customization buffer for this
variable, edit the buffer to include all source paths for all projects,
then choose the "Save for future sessions option" from the State menu to
save the setting in your .emacs file. This way, when you step into a source
file that does not belong to any project, the JDE can still step back into
the current project. You would have to do something similar for any other
projects whose source files are used by other projects.  

You're right, though. The debugger interface has to find a more elegant
solution for this problem.

- Paul

Reply via email to