Hi Matthew,
Thank you very much for your response, I appreciate you taking your time to give me lots of information about Trace Compass and Trace Server Protocol.
Many Thanks,
Josh Parsons
From: tracecompass-dev-bounces@xxxxxxxxxxx <tracecompass-dev-bounces@xxxxxxxxxxx>
On Behalf Of tracecompass developer discussions
Sent: 01 April 2020 15:36
To: tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Subject: Re: [tracecompass-dev] Questions about Trace Server Protocol in VS Code
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
|