Permalink
Browse files

More generic "delete" demo code

  • Loading branch information...
rocky committed Oct 15, 2011
1 parent 31e2039 commit 76b863a576d690fdf37a16846e4bb8036d7eb01f
Showing with 2 additions and 2 deletions.
  1. +2 −2 processor/command/delete.rb
@@ -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'])

0 comments on commit 76b863a

Please sign in to comment.