Hi Bernd,
Thank you very much for your feedback, it is much appreciated.
Best Regards,
Josh Parsons
From: tracecompass-dev-bounces@xxxxxxxxxxx <tracecompass-dev-bounces@xxxxxxxxxxx>
On Behalf Of tracecompass developer discussions
Sent: 20 April 2020 16:01
To: tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Subject: Re: [tracecompass-dev] Questions about Trace Server Protocol
Hi Josh
Thank you very much for the interest into the Trace Server Protocol and related development.
Looking at your system overview design picture and it looks good. The Trace Server backend will communicate over the TSP (REST API) to the Visualization front-end.
The TSP specification work and our related development is still at an early stage. It’s great to have your additional development using the TSP ongoing now and get a different view on that topic. If you have any feedback
on the TSP or miss features, please let us know.
Best Regards
Bernd Hufmann
Hi All,
I’m working on a Trace Analysis project within Visual Studio Code for Renesas Electronics. I asked some questions a few weeks ago on this email chain and received some great feedback from Matthew.
At present, I am starting to implement my own Trace Server (a REST server based on the Trace Server Protocol) in Typescript. I’ve attached an updated system overview design of the project and was wondering if anyone could have a look to
see if I am on the right track? Is there anything important I have not considered in my design?
Many Thanks,
Josh Parsons
I will preface this with the fact that I am not super knowledgeable about vscode.
-- Visualizing traces using Trace Compass --
-- Using the trace server protocol --
> My understanding is that tsp-typescript-client can be configured to point to a Base URL (host:port), in my case JLink GDBServer?
You cannot connect as far as I know the trace server to a GDB Server. The TSP connects to a trace server. The server's responsibility is to send easily visualized data, so it converts the trace
to more human readible data.
-- Showing the results --
-- Answers to particular questions --
> However, I’m fairly new to developing in Visual Studio Code and so I’m unsure about how I can test or use the tsp-typescript-client?
> Do I build the project, create a launch file and debug it?
That's how I would go about it, you don't need to rebuild the typescript client by the way. To be clear, the client is the client of a protocol, how you use it is up to you.
> Also, how do I extend it to create my own implementation, if I need to make any changes?
I would suggest looking at the theia implementation for inspiration.
If you have feedback or want to contribute, please let us know. This sounds like a really interesting project, and a great use case. If there's anything blocking you, don't hesitate to contact
us for more info.
Hi All,
I’m working on some debugging extensions in Visual Studio Code for Renesas Electronics, as part of a University project and want to include some Trace Analysis support. Using Segger GDB Server query packets I can request and retrieve Trace
data. I’ve attached a system overview design of how I see the trace data being fetched and processed.
I’ve been looking at the Trace Server Protocol and tsp-typescript-client, but I’m unsure how to use these extensions. My understanding is the tsp-typescript-client project is a barebones implementation of a Trace Server, following the
Trace Server Protocol. Initially I want to figure how to input the Trace data I receive within GDB into the trace server (tsp-typescript-client). My understanding is that tsp-typescript-client can be configured to point to a Base URL (host:port), in my case
JLink GDBServer? However, I’m fairly new to developing in Visual Studio Code and so I’m unsure about how I can test or use the tsp-typescript-client? Do I build the project, create a launch file and debug it? Also, how do I extend it to create my own implementation,
if I need to make any changes? Finally, I’ve been using
https://theia-ide.github.io/trace-server-protocol/ as my only source of reference so far, are there any other resources that may be of use to me?
I would be very grateful for any advice you can give me.
Many Thanks,
Josh Parsons
Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf,
HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647
Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf,
HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647
Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB
3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647