Skip to content

Commit 6d0260d

Browse files
committed
Fix cachedThreads argument
1 parent 2129352 commit 6d0260d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/crosgdb.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface AttachRequestArguments extends DebugProtocol.AttachRequestArgum
1414
cros_sdk_path: string;
1515
gdbpath: string;
1616
debugger_args: string[];
17-
cache_threads: boolean;
17+
cacheThreads: boolean;
1818
executable: string;
1919
target: string;
2020
valuesFormatting: ValuesFormattingMode;
@@ -53,7 +53,7 @@ class CrosGDBDebugSession extends MI2DebugSession {
5353

5454
this.setValuesFormattingMode(args.valuesFormatting);
5555

56-
this.miDebugger.cacheThreads = args.cache_threads;
56+
this.miDebugger.cacheThreads = !!args.cacheThreads;
5757
this.miDebugger.printCalls = !!args.printCalls;
5858
this.miDebugger.debugOutput = !!args.showDevDebugOutput;
5959

0 commit comments

Comments
 (0)