2021-08-29 14:20:49 +02:00
|
|
|
# TOOLS
|
|
|
|
|
|
|
|
This directory contains debugging and investigation tools for V8.
|
|
|
|
|
|
|
|
The contents are regularly mirrored to <http://v8.dev/tools>.
|
|
|
|
|
|
|
|
## Local Development
|
|
|
|
|
|
|
|
For local development you have to start a local webserver under <http://localhost:8000>:
|
|
|
|
```
|
|
|
|
cd tools/;
|
|
|
|
npm install;
|
2025-04-29 08:03:15 +02:00
|
|
|
npm run start-webserver;
|
2021-08-29 14:20:49 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Local Symbol Server
|
|
|
|
|
|
|
|
The system-analyzer can symbolize profiles for local binaries by running a
|
|
|
|
local symbol server
|
|
|
|
```
|
|
|
|
cd tools/;
|
2025-04-29 08:03:15 +02:00
|
|
|
./system-analyzer/local-server.sh;
|
2021-08-29 14:20:49 +02:00
|
|
|
```
|
|
|
|
Note that the local symbol server will run `nm` and `objdump` and has access to
|
|
|
|
your files.
|