Skip to content

Commit

Permalink
More generic "delete" demo code
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Oct 15, 2011
1 parent 31e2039 commit 76b863a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions processor/command/delete.rb
Expand Up @@ -50,8 +50,8 @@ def run(args)
cmd.run([cmd.name, '1'])
cmdproc = dbgr.core.processor
cmds = dbgr.core.processor.commands
break_cmd = cmds['delete']
break_cmd.run(['delete', cmdproc.frame.source_location[0].to_s])
break_cmd = cmds[cmd.name]
break_cmd.run([cmd.name, cmdproc.frame.source_location[0].to_s])
# require_relative '../../lib/trepanning'
# Trepan.debug
cmd.run([cmd.name, '1'])
Expand Down

0 comments on commit 76b863a

Please sign in to comment.