Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

JSDT/Debug/IE

< JSDT‎ | Debug
Revision as of 14:26, 1 November 2011 by Grant gayed.ca.ibm.com (Talk | contribs) (initial content)

JSDT Debug
Website
Download
Community
Mailing ListForumsIRCmattermost
Issues
OpenHelp WantedBug Day
Contribute
Browse SourceProject Set File
Warning2.png
Experimental Project
The JSDT IE project is in the experimental phase and is not part of any official release.


Overview

The Internet Explorer project ("Crossfire Server for Internet Explorer") brings remote debugging support of Internet Explorer to JSDT using the Crossfire protocol. This support is implemented as an Internet Explorer extension that provides a Crossfire server implementation for interacting with running Internet Explorer instances.

The bundles provided by JSDT debug for the Crossfire support include:

Using Crossfire Server for Internet Explorer

  1. The installer for Crossfire Server for Internet Explorer is available from ... . Just download and run it and the Internet Explorer extension will be installed.
  2. Crossfire Server for Internet Explorer has a runtime dependency on the Microsoft Active Script Debugger. Download it from http://www.microsoft.com/download/en/confirmation.aspx?id=22185 and install it.
  3. When you launch Internet Explorer a tool item should be added to its toolbar. If it is not shown then use Toolbars > Customize to add it. The following screenshot shows the Crossfire Server for Internet Explorer tool item.
  4. Pressing this tool item will open the Crossfire Server for Internet Explorer panel (screenshot below). If desired you can change the port that the server will listen on for incoming Crossfire connections. To begin listening for connections press the Listen button.
  5. The server is now ready to accept a connection from a client implementing the Crossfire client protocol. To connect to it from JSDT, create a new "Remote JavaScript" Debug configuration, set its Connector to "Crossfire - Remote Attach", and its port value to the port that the server is listening on. Press 'Debug' to connect to the server.

Setting up a Crossfire Server for Internet Explorer development workspace

The project is implemented in C++ and contains metadata files written by Visual Studio 2010. The instructions below assume that Visual Studio 2010 is being used.

First, retrieve the source for this project from CVS location:

   Host: dev.eclipse.org
   Repository Path: /cvsroot/webtools
   User: anonymous
   Password: <none>
   Connection Type: pserver
   Module: org.eclipse.jsdt/development/org.eclipse.wst.jsdt.debug.ie.debugger
  1. This project's source has a dependency on the Microsoft Active Scripting development files. Download them from http://support.microsoft.com/kb/q223389/ (self-extracting .exe).
  2. In Visual Studio open the retrieved solution file "Crossfire Server for Internet Explorer.sln".
  3. Extract the downloaded Microsoft Active Scripting development files. The Visual Studio projects are configured by default to search for these files in c:\activescripting, so extracting them to this location simplifies the setup process. If you wish to extract these files elsewhere then you must update the properties of the solution's IECrossfireExtension and IECrossfireServer projects accordingly. The project property pages that will require updating are "C/C++ - General" and "Linker - Input".
  4. Build the project as either Debug - Win32 or Release - Win32. Note that the following compilation warning messages are expected as a result of the active scripting library file not having accompanying debug symbols:
   ad1.lib(activdbgid.obj) : warning LNK4099: PDB 'msdbg2_comp.pdb' was not found with 'ad1.lib(activdbgid.obj)' or at 'C:\crossfire-ieserver\IECrossfireServer\Release\msdbg2_comp.pdb'; linking object as if no debug info
   ad1.lib(dbgpropid.obj) : warning LNK4099: PDB 'msdbg2_comp.pdb' was not found with 'ad1.lib(dbgpropid.obj)' or at 'C:\crossfire-ieserver\IECrossfireServer\Release\msdbg2_comp.pdb'; linking object as if no debug info
   ad1.lib(activdbgid.obj) : warning LNK4099: PDB 'msdbg2_comp.pdb' was not found with 'ad1.lib(activdbgid.obj)' or at 'C:\crossfire-ieserver\IECrossfireExtension\Release\msdbg2_comp.pdb'; linking object as if no debug info

Back to the top