(name: string, threadId: number, frameId: number)
| 894 | |
| 895 | // Pass negative threadId/frameId to specify no context or current context |
| 896 | public evalExpression(name: string, threadId: number, frameId: number): Thenable<any> { |
| 897 | if (trace) { |
| 898 | this.log('stderr', 'evalExpression'); |
| 899 | } |
| 900 | return new Promise((resolve, reject) => { |
| 901 | const thFr = MI2.getThreadFrameStr(threadId, frameId); |
| 902 | this.sendCommand(`data-evaluate-expression ${thFr} ` + name).then((result) => { |
| 903 | resolve(result); |
| 904 | }, reject); |
| 905 | }); |
| 906 | } |
| 907 | |
| 908 | public static FORMAT_SPEC_MAP = { |
| 909 | b: 'binary', |
nothing calls this directly
no test coverage detected