Theia trace viewer extension using the tsp-typescript-client (https://github.com/theia-ide/tsp-typescript-client) and Trace Server Protocol (https://github.com/theia-ide/trace-server-protocol).
Prerequisites for running this extension are the same as those for running the theia IDE.
We plan to distribute this extension on npm.
Availability: TBD
Here is the step in order to build the trace viewer
- Clone this theia-trace-extension repository
cd theia-trace-extension
- Now you are ready to build the application:
yarn
Note for some debian-based machines: On some distros, there are 2 yarn commands. If you get an error message saying ERROR: There are no scenarios; must have at least one., you are using the wrong yarn. See yarnpkg/yarn#2821.
This repository contains an example trace-viewer application that includes the trace extension. It has two versions:
- browser: a "browser" application, accessed with a web browser
- electron: a native desktop application
In order to open traces you need a trace server running on the same machine as the trace extension. You can download the Eclipse Trace Compass server or build it yourself using Trace Compass and the Incubator, take a look at the instruction here.
- Start the trace server:
./tracecompass-server
- From the repo root:
yarn start:browser
oryarn start:electron
- Go to http://localhost:3000 or use the Electron application
It's possible to package the repo's example application with electron-builder
. After running yarn
in the repo root, do:
The configured Linux packaging(s) will be generated folder electron-app/dist