From 117954f2ec8c12ac77be9f22dc4e9450ad2b3c48 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Thu, 12 Jun 2008 11:34:22 +0100 Subject: [PATCH] adding auto-load-config of vim when pygdb gets re-activated --- PositionFrame.py | 2 +- StatusWindow.py | 3 +++ featurerequest.txt | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/PositionFrame.py b/PositionFrame.py index c3751fd..d3fc3cf 100644 --- a/PositionFrame.py +++ b/PositionFrame.py @@ -57,7 +57,7 @@ class PositionFrame (StatusFrame.StatusFrame): if self.file!=None: try: - cmd = 'gvim -c ":GDBLoadConfig" %s' % (self.file) + cmd = 'gvim --servername pygdb -c ":GDBLoadConfig" %s' % (self.file) os.system(cmd) except OSError: dialog = gtk.MessageDialog(None, \ diff --git a/StatusWindow.py b/StatusWindow.py index 3d77dea..6c918e5 100644 --- a/StatusWindow.py +++ b/StatusWindow.py @@ -99,3 +99,6 @@ class StatusWindow (gtk.Window): self.fillConfiguration(conf) conf.store(".pygdb.conf") + os.system('gvim --servername pygdb --remote-send ":GDBLoadConfig"') + + diff --git a/featurerequest.txt b/featurerequest.txt index 57065fe..9cef0a2 100644 --- a/featurerequest.txt +++ b/featurerequest.txt @@ -1,9 +1,10 @@ Smaller requests + - Scrollbar for terminals - Hightlight current line in little source field - Backtrace frame - Button for step out of function ('bt', followed by 'advance') Bigger requests: - bidirectional, immediate communication with vim: - updating execution line, breakpoints when changing. + updating breakpoints when setting in vim. -- 2.30.2