@@ -2471,7 +2471,7 @@ The packet below are supported by the
2471
2471
[V8](https://v8.dev) Wasm runtimes.
2472
2472
2473
2473
2474
- ## qWasmCallStack
2474
+ ### qWasmCallStack
2475
2475
2476
2476
Get the Wasm call stack for the given thread id. This returns a hex-encoded
2477
2477
list of PC values, one for each frame of the call stack. To match the Wasm
@@ -2486,41 +2486,47 @@ read packet: $9c01000000000040e501000000000040fe01000000000040#
2486
2486
**Priority to Implement:** Only required for Wasm support. Necessary to show
2487
2487
stack traces.
2488
2488
2489
- ## qWasmGlobal
2489
+ ### qWasmGlobal
2490
2490
2491
2491
Get the value of a Wasm global variable for the given frame index at the given
2492
2492
variable index. The indexes are encoded as base 10. The result is a hex-encoded
2493
2493
address from where to read the value.
2494
2494
2495
+ ```
2495
2496
send packet: $qWasmGlobal:0;2#cb
2496
2497
read packet: $e0030100#b9
2498
+ ```
2497
2499
2498
2500
**Priority to Implement:** Only required for Wasm support. Necessary to show
2499
2501
variables.
2500
2502
2501
2503
2502
- ## qWasmLocal
2504
+ ### qWasmLocal
2503
2505
2504
2506
Get the value of a Wasm function argument or local variable for the given frame
2505
2507
index at the given variable index. The indexes are encoded as base 10. The
2506
2508
result is a hex-encoded address from where to read the value.
2507
2509
2508
2510
2511
+ ```
2509
2512
send packet: $qWasmLocal:0;2#cb
2510
2513
read packet: $e0030100#b9
2514
+ ```
2511
2515
2512
2516
**Priority to Implement:** Only required for Wasm support. Necessary to show
2513
2517
variables.
2514
2518
2515
2519
2516
- ## qWasmStackValue
2520
+ ### qWasmStackValue
2517
2521
2518
2522
Get the value of a Wasm local variable from the Wasm operand stack, for the
2519
2523
given frame index at the given variable index. The indexes are encoded as base
2520
2524
10. The result is a hex-encoded address from where to read value.
2521
2525
2526
+ ```
2522
2527
send packet: $qWasmStackValue:0;2#cb
2523
2528
read packet: $e0030100#b9
2529
+ ```
2524
2530
2525
2531
**Priority to Implement:** Only required for Wasm support. Necessary to show
2526
2532
variables.
0 commit comments