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

Method addWatchExpr

src/frontend/views/live-watch.ts:565–571  ·  view source on GitHub ↗
(expr: string, session: vscode.DebugSession)

Source from the content-addressed store, hash-verified

563 }
564
565 public addWatchExpr(expr: string, session: vscode.DebugSession) {
566 expr = expr.trim();
567 if (expr && this.variables.addNewExpr(expr)) {
568 this.saveState();
569 this.refresh(LiveWatchTreeProvider.session);
570 }
571 }
572
573 public removeWatchExpr(node: LiveVariableNode) {
574 try {

Callers 2

addLiveWatchExprMethod · 0.80
addToLiveWatchMethod · 0.80

Calls 3

saveStateMethod · 0.95
refreshMethod · 0.95
addNewExprMethod · 0.80

Tested by

no test coverage detected