Source Tree Panel

The Source Tree Panel is a panel in the top-level Main Window. The Source Tree Panel maintains a tree of source paths that the debugger searches when trying to find a source file to display in the Source Panel. A source path is a root directory containing your Java packages (and source files) and is set analogously to a CLASSPATH directory. The debugger assumes that the directory structure matches the package hierarchy.

For example, if the source file corresponding to class mypackage.MyClass (class MyClass in package mypackage) is located in the file c:/myjavafiles/mypackage/MyClass.java, then the corresponding source path would be c:/myjavafiles  Note that a source path does not include any package names.

JDebugTool can automatically detect and fix incorrectly mounted source paths. In the Source Tree panel, under an incorrectly mounted source path, click on a Java source file in order to display the file. JDebugTool will then automatically unmount the incorrect source path, and then automatically mount the corresponding correct source path, after prompting the user.

Note that you can mount multiple Source Paths for each independent source tree hierarchy.

The root of the Tree in the Source Tree Panel is displayed in red if there are no currently mounted source paths. Mounted source paths are displayed (in red) at the second levels in the Tree in the Source Tree Panel. Java packages are displayed (in green) below the source paths in the Tree. At the leaves of the Tree are the Java source files (displayed in blue). Clicking on a Java source file will display that source file in the Source Panel.

Note that hidden files and directories are not displayed. CVS and .svn directories are also not displayed.

context menu

A popup Context Menu is displayed by right clicking on the Panel:

©2001-2010. debugtools.com LLC. All rights reserved.