MCPcopy Create free account
hub / github.com/Marus/cortex-debug / addLiveWatchExpr

Method addLiveWatchExpr

src/frontend/extension.ts:874–884  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

872 }
873
874 private addLiveWatchExpr() {
875 vscode.window.showInputBox({
876 placeHolder: 'Enter a valid C/gdb expression. Must be a global variable expression',
877 ignoreFocusOut: true,
878 prompt: 'Enter Live Watch Expression'
879 }).then((v) => {
880 if (v) {
881 this.liveWatchProvider.addWatchExpr(v, vscode.debug.activeDebugSession);
882 }
883 });
884 }
885
886 private addToLiveWatch(arg: any) {
887 if (!arg || !arg.sessionId) {

Callers

nothing calls this directly

Calls 1

addWatchExprMethod · 0.80

Tested by

no test coverage detected