Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions vim_debug/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
class BreakPointManager:
""" Breakpoint manager class """
def __init__(self):
""" initalize """
""" initialize """
self.breakpt = {}
self.revmap = {}
self.startbno = 10000
Expand Down Expand Up @@ -175,7 +175,7 @@ def send_command(self, cmd, arg1 = '', arg2 = ''):
# Internal message handlers
#
def handle_msg(self, res):
""" call appropraite message handler member function, handle_XXX() """
""" call appropriate message handler member function, handle_XXX() """
fc = res.firstChild
try:
handler = getattr(self, 'handle_' + fc.tagName)
Expand All @@ -184,7 +184,7 @@ def handle_msg(self, res):
print 'Debugger.handle_'+fc.tagName+'() not found, please see the LOG___WINDOW'
self.ui.go_srcview()
def handle_response(self, res):
""" call appropraite response message handler member function, handle_response_XXX() """
""" call appropriate response message handler member function, handle_response_XXX() """
if res.firstChild.hasAttribute('reason') and res.firstChild.getAttribute('reason') == 'error':
self.handle_response_error(res)
return
Expand Down
2 changes: 1 addition & 1 deletion vim_debug/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def close(self):
file, line, tid = self.breaks.pop(bid)
vim.command('sign unplace %d file=%s' % (tid, file))

# destory all created windows
# destroy all created windows
self.destroy()

# restore session
Expand Down