()
| 783 | } |
| 784 | |
| 785 | async getRegisterNames(): Promise<string[]> { |
| 786 | if (trace) |
| 787 | this.log("stderr", "getRegisterNames"); |
| 788 | const result = await this.sendCommand("data-list-register-names"); |
| 789 | const names = result.result('register-names'); |
| 790 | if (!Array.isArray(names)) { |
| 791 | throw new Error('Failed to retrieve register names.'); |
| 792 | } |
| 793 | return names.map(name => name.toString()); |
| 794 | } |
| 795 | |
| 796 | async getRegisterValues(): Promise<RegisterValue[]> { |
| 797 | if (trace) |
no test coverage detected