Skip to content

Commit c780b15

Browse files
committed
Change breakpoint command call to new CLI format
1 parent f45e13f commit c780b15

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

cs1302_code_visualizer/breakpoint_lister.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,9 @@ def list_breakpoints(
4747

4848
args: list[str] = []
4949

50+
args.append("list-breakpoints")
5051
if output_json:
51-
args.extend(["-L"]) # --list-available-breakpoints-json
52-
else:
53-
args.extend(["-l"]) # --list-available-breakpoints
52+
args.append("--json")
5453

5554
return subprocess.check_output(
5655
(

0 commit comments

Comments
 (0)