Skip to main content
Jump to: navigation, search


< JSDT‎ | Debug
Revision as of 21:26, 14 January 2011 by Michael (Talk | contribs) (Where is the Source?)

JSDT Debug
Mailing ListForumsIRCmattermost
OpenHelp WantedBug Day
Browse SourceProject Set File


This page contains a collection of common questions and answers and common problems and possible solutions.

Check back often, new content will be added regularly.

Where is the Source?

Depending on the version of JSDT you have installed, locating the remote source in your workspace can be a bit tricky.

In all versions of JSDT debug the source from remote debug sessions is stored in the External JavaScript Source project in your workspace. This project is created for you automatically when remote debugging to store script source. The source arrangement in the project and the visibility of the project itself differs in versions of JSDT 1.3.x and later.

Pre 1.3.x External Source

In JSDT debug versions less than 1.3.x the source is stored in the External JavaScript Source project, with the quirk being that the project is filtered from explorer views by default. To make the project visible you have to change the filter settings for the view you want to see the project in. For example in the Package Explorer you would navigate to the view menu > Filters... action and in the resulting dialog, un-check the External JavaScript Source filter.

Now that the External JavaScript Source project is visible you can browse the folders in the project and see the source for any scripts you have debugged remotely. You will notice that the source is arranged in the project in sub-folders that are named using the hash codes of the strings from the URI for the script. At the time this was intentional as we planned to always hide this project from users, but as you can image it is almost impossible for users to understand where to find their remote source without searching for it. The other catch in the pre-1.3.x external source story is that the External JavaScript Source project is always deleted when the workbench is shut down.

Realizing that this source story was sub-optimal we sat down and completely re-designed it to be more user friendly.

1.3.x External Source

To combat the non-user-friendly source story from pre-1.3.x JSDT we made the following major changes:

  1. The External JavaScript Source project is always visible in all views that show project by default
  2. The External JavaScript Source project is no longer deleted when the workbench shuts down. The project can be deleted when the workbench shuts down if you want it to; the option to do so is controlled using the Delete External JavaScript Source project on workbench shutdown preference on the JavaScript > Debug preference page.
  3. The source is now saved in the External JavaScript Source project based directly on the URI from the script. For example would be saved in the project like: External JavaScript Source/

Can I See Loaded Scripts?

Back to the top