Projekt

Obecné

Profil

Stáhnout (1.82 KB) Statistiky
| Větev: | Tag: | Revize:
1
# Automatic detection and documentation of connected Lauterbach Debugger and its head device - LD Client - Bug Thugs
2

    
3
---
4

    
5
- [Description](#description)
6
- [Requirements](#requirements)
7
  * [Windows](#windows)
8
- [Build](#build)
9
- [Execution](#execution)
10

    
11
---
12

    
13
## Description
14

    
15
This client application periodically searches for running process of TRACE32 PowerView. 
16
Upon detection the application tries to execute t32rem.exe program with specific parameters which generates info file about currently connected Lauterbach Debbuger and its head device.
17
The serial numbers from the info file are then parsed and along with a timestamp and computer-related information, is sent to the server (API).
18
If the application fails to send the data, it will store the payload in a disk-based cache.
19
The client then periodically accesses the cache in order to resend the failed payloads to the server.   
20

    
21
## Requirements
22

    
23
In order to successfully run the application the user needs to have .NET 6.0 installed on their machine. 
24
It can be simply downloaded from the official site of the Microsoft (https://dotnet.microsoft.com/en-us/download/dotnet/6.0).
25

    
26
## Build/Publish
27

    
28
If you have .NET 6.0 installed on your machine and its binaries are included in the system variables, you can simply execute following command in the LDClient subfolder:
29
```
30
dotnet publish -c Release -o build -p:PublishSingleFile=true --self-contained true -r win-x86
31
```
32

    
33
If everything goes well, a file called `LDClient.exe` with all its needed dependencies and configuration files should be created under folder 'build'.
34

    
35
You can also build this application by opening the solution of this project in MSVC and using one of its build tools.
36

    
37
## Execution
38

    
39

    
40
After everything is successfully setup, you can simply run the application by running the following command from the terminal.
41

    
42
```
43
LDClient.exe
44
```
(2-2/2)