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

Debugging COSMOSUI in IE

Overview

By default Internet Explorer does not provide a debug console for developers to see debug statement. In order to see the debug console a couple of steps is required.

Setting up the Environment

  • Dojo comes with a set of firebug scripts that will render the debug statement in IE. These scripts should be copied to the root folder of the web application. Copy <TOMCAT_DIR>\webapps\COSMOSUI\dojo-release-1.1.0\dojo\_firebug to <TOMCAT_DIR>\webapps\COSMOSUI\. You should have the following directory structure

COSMOSUIFirebug.jpg

  • In the development environment you should copy <WORKSPACE_DIR>\org.eclipse.cosmos.examples.e2e.web.ui\WebContent\dojo-release-1.0.2\dojo\_firebug to <WORKSPACE_DIR>\org.eclipse.cosmos.examples.e2e.web.ui\WebContent. You should have the following directory structure

COSMOSUIFirebug2.jpg

Running in Debug Mode

To run the COSMOSUI in debug mode you would prepend "debug=true" to the COSMOSUI request as follows:

http://localhost:8080/COSMOSUI/?debug=true

You should see a debug console as shown below:

COSMOSUIDebugconsole.jpg

Back to the top