11import { Bp , BpType } from '../../breakpoints/bp.js' ;
22import { Bps } from '../../breakpoints/bps.js' ;
3- import { CmdLet } from '../../commands/cmdlet.js' ;
3+ import { CmdLetBase } from '../../commands/cmdlet.js' ;
44import { Input , InputInterceptLine } from '../../io/input.js' ;
55import { Output } from '../../io/output.js' ;
66import { Token } from '../../io/token.js' ;
@@ -11,7 +11,7 @@ enum InputMode {
1111 Commands = 'commands' ,
1212}
1313
14- abstract class TypedBpCmdLet extends CmdLet implements InputInterceptLine {
14+ abstract class TypedBpCmdLet extends CmdLetBase implements InputInterceptLine {
1515 protected static readonly CONDITIONAL_CHAR : string = '?' ;
1616 public abstract readonly bpType : BpType ;
1717 protected abstract runCreate ( tokens : Token [ ] ) : Var | null ;
@@ -82,8 +82,8 @@ ${Output.bold('show:')}
8282
8383${ this . name } - show all ${ this . bpType } breakpoints
8484
85- ${ this . name } ${ CmdLet . NUM_CHAR } n - show a ${ this . bpType } breakpoint
86- ${ CmdLet . NUM_CHAR } n the number of the breakpoint to show
85+ ${ this . name } ${ CmdLetBase . NUM_CHAR } n - show a ${ this . bpType } breakpoint
86+ ${ CmdLetBase . NUM_CHAR } n the number of the breakpoint to show
8787
8888${ Output . bold ( 'create:' ) }
8989${ create }
@@ -93,8 +93,8 @@ ${modify}
9393
9494${ Output . bold ( 'delete:' ) }
9595
96- ${ this . name } ${ CmdLet . NUM_CHAR } n # - delete a ${ this . bpType } breakpoint
97- ${ CmdLet . NUM_CHAR } n the number of the breakpoint to delete
96+ ${ this . name } ${ CmdLetBase . NUM_CHAR } n # - delete a ${ this . bpType } breakpoint
97+ ${ CmdLetBase . NUM_CHAR } n the number of the breakpoint to delete
9898
9999${ Output . bold ( 'NOTE:' ) } Set hits to '*' for unlimited breakpoint.`;
100100
@@ -329,17 +329,17 @@ ${this.name} addr hits ${TypedBpCmdLet.CONDITIONAL_CHAR} - create ${this.bpType}
329329
330330 protected override usageModify ( ) : string {
331331 const usage : string = `
332- ${ this . name } ${ CmdLet . NUM_CHAR } n addr - modify a ${ this . bpType } breakpoint without a hit limit
333- ${ CmdLet . NUM_CHAR } n the number of the breakpoint to modify
332+ ${ this . name } ${ CmdLetBase . NUM_CHAR } n addr - modify a ${ this . bpType } breakpoint without a hit limit
333+ ${ CmdLetBase . NUM_CHAR } n the number of the breakpoint to modify
334334 addr the address to move the breakpoint
335335
336- ${ this . name } ${ CmdLet . NUM_CHAR } n addr hits - modify a ${ this . bpType } breakpoint
337- ${ CmdLet . NUM_CHAR } n the number of the breakpoint to modify
336+ ${ this . name } ${ CmdLetBase . NUM_CHAR } n addr hits - modify a ${ this . bpType } breakpoint
337+ ${ CmdLetBase . NUM_CHAR } n the number of the breakpoint to modify
338338 addr the address to move the breakpoint
339339 hits the number of times the breakpoint should fire
340340
341- ${ this . name } ${ CmdLet . NUM_CHAR } n addr hits ${ TypedBpCmdLet . CONDITIONAL_CHAR } - modify a ${ this . bpType } breakpoint with conditions
342- ${ CmdLet . NUM_CHAR } n the number of the breakpoint to modify
341+ ${ this . name } ${ CmdLetBase . NUM_CHAR } n addr hits ${ TypedBpCmdLet . CONDITIONAL_CHAR } - modify a ${ this . bpType } breakpoint with conditions
342+ ${ CmdLetBase . NUM_CHAR } n the number of the breakpoint to modify
343343 addr the address to move the breakpoint
344344 hits the number of times the breakpoint should fire` ;
345345 return usage ;
@@ -464,19 +464,19 @@ ${this.name} addr len hits ${TypedBpCmdLet.CONDITIONAL_CHAR} - create ${this.bpT
464464
465465 protected override usageModify ( ) : string {
466466 const usage : string = `
467- ${ this . name } ${ CmdLet . NUM_CHAR } n addr len - modify a ${ this . bpType } breakpoint without a hit limit
468- ${ CmdLet . NUM_CHAR } n the number of the breakpoint to modify
467+ ${ this . name } ${ CmdLetBase . NUM_CHAR } n addr len - modify a ${ this . bpType } breakpoint without a hit limit
468+ ${ CmdLetBase . NUM_CHAR } n the number of the breakpoint to modify
469469 addr the address to move the breakpoint
470470 len the length of the memory region to watch
471471
472- ${ this . name } ${ CmdLet . NUM_CHAR } n addr len hits - modify a ${ this . bpType } breakpoint
473- ${ CmdLet . NUM_CHAR } n the number of the breakpoint to modify
472+ ${ this . name } ${ CmdLetBase . NUM_CHAR } n addr len hits - modify a ${ this . bpType } breakpoint
473+ ${ CmdLetBase . NUM_CHAR } n the number of the breakpoint to modify
474474 addr the address to move the breakpoint
475475 len the length of the memory region to watch
476476 hits the number of times the breakpoint should fire
477477
478- ${ this . name } ${ CmdLet . NUM_CHAR } n addr len hits ${ TypedBpCmdLet . CONDITIONAL_CHAR } - modify a ${ this . bpType } breakpoint with conditions
479- ${ CmdLet . NUM_CHAR } n the number of the breakpoint to modify
478+ ${ this . name } ${ CmdLetBase . NUM_CHAR } n addr len hits ${ TypedBpCmdLet . CONDITIONAL_CHAR } - modify a ${ this . bpType } breakpoint with conditions
479+ ${ CmdLetBase . NUM_CHAR } n the number of the breakpoint to modify
480480 addr the address to move the breakpoint
481481 len the length of the memory region to watch
482482 hits the number of times the breakpoint should fire` ;
@@ -611,19 +611,19 @@ ${this.name} addr depth hits ${TypedBpCmdLet.CONDITIONAL_CHAR} - create ${this.b
611611
612612 protected override usageModify ( ) : string {
613613 const usage : string = `
614- ${ this . name } ${ CmdLet . NUM_CHAR } n addr depth - modify a ${ this . bpType } breakpoint without a hit limit
615- ${ CmdLet . NUM_CHAR } n the number of the breakpoint to modify
614+ ${ this . name } ${ CmdLetBase . NUM_CHAR } n addr depth - modify a ${ this . bpType } breakpoint without a hit limit
615+ ${ CmdLetBase . NUM_CHAR } n the number of the breakpoint to modify
616616 addr the address to move the breakpoint
617617 depth the maximum depth of callstack to follow
618618
619- ${ this . name } ${ CmdLet . NUM_CHAR } n addr depth hits - modify a ${ this . bpType } breakpoint
620- ${ CmdLet . NUM_CHAR } n the number of the breakpoint to modify
619+ ${ this . name } ${ CmdLetBase . NUM_CHAR } n addr depth hits - modify a ${ this . bpType } breakpoint
620+ ${ CmdLetBase . NUM_CHAR } n the number of the breakpoint to modify
621621 addr the address to move the breakpoint
622622 depth the maximum depth of callstack to follow
623623 hits the number of times the breakpoint should fire
624624
625- ${ this . name } ${ CmdLet . NUM_CHAR } n addr depth hits ${ TypedBpCmdLet . CONDITIONAL_CHAR } - modify a ${ this . bpType } breakpoint with conditions
626- ${ CmdLet . NUM_CHAR } n the number of the breakpoint to modify
625+ ${ this . name } ${ CmdLetBase . NUM_CHAR } n addr depth hits ${ TypedBpCmdLet . CONDITIONAL_CHAR } - modify a ${ this . bpType } breakpoint with conditions
626+ ${ CmdLetBase . NUM_CHAR } n the number of the breakpoint to modify
627627 addr the address to move the breakpoint
628628 depth the maximum depth of callstack to follow
629629 hits the number of times the breakpoint should fire` ;
0 commit comments