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.
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.
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 theia-trace-extension folder:
cd browser-app/
yarn start
- Go to http://localhost:3000