Permalink
Browse files

Merge branch 'master' into dev

  • Loading branch information...
joonty committed Jan 23, 2013
2 parents ec488b8 + 6dcb54a commit c3cb23ae47b1a394c70f544f3e2a929ea597100b
Showing with 6 additions and 6 deletions.
  1. +5 −5 doc/Vdebug.txt
  2. +1 −1 plugin/python/vdebug/runner.py
View
@@ -877,10 +877,10 @@ g:vdebug_options["continuous_mode"] (default = 0)
By default, function keys are mapped to execute debugger commands. However, I'm
aware that people may already have them mapped to something else, so would like
to change the default behaviour. Before you do that, be aware that Vdebug only
-maps one command outside of the debugger mode, which is "run". All others are
-mapped only when Vdebug starts up, and unmapped when it shuts down. Not only this,
-but any commands that you have already mapped to these keys will be remembered
-and restored when you come out of debugging mode.
+maps two commands outside of the debugger mode, "run" and "set_breakpoint". All
+others are mapped only when Vdebug starts up, and unmapped when it shuts down.
+Not only this, but any commands that you have already mapped to these keys will
+be remembered and restored when you come out of debugging mode.
If you would still like to remap the default keys, this is possible using the
key map dictionary, g:vdebug_keymap: >
@@ -900,7 +900,7 @@ key map dictionary, g:vdebug_keymap: >
<
As you can see, these are the default keys. You can change the keys using the
-multi-line notation as shown above, or by setting invidiual keys: >
+multi-line notation as shown above, or by setting individual keys: >
let g:vdebug_keymap['run'] = '<C-s>'
<
@@ -79,7 +79,7 @@ def refresh(self,status):
self.ui.statuswin.set_status("stopped")
self.ui.say("Debugging session has ended")
self.close_connection(False)
- if vdebug.opts.Options.get('continuous_mode',bool):
+ if vdebug.opts.Options.get('continuous_mode', int) != 0:
self.open()
return
else:

0 comments on commit c3cb23a

Please sign in to comment.