Debug variable window & multiple workspaces

26 views
Skip to first unread message

Kannan Rajah

unread,
Dec 20, 2014, 7:13:53 PM12/20/14
to ecli...@googlegroups.com
Eric,
I was testing out the debugger today and noticed that whenever I try to do any operation from the debug variable window (bottom right), it prompts for the workspace to use. This is because I have 2 active workspaces (eclimd instances). When a debugging session is started, we can determine the eclim workspace by looking at the project information of the currently opened file. What is a good way to carry over this information? Should we set some variable in the debug status window so that it doesn't prompt?

Eric Van Dewoestine

unread,
Jan 3, 2015, 12:01:44 AM1/3/15
to ecli...@googlegroups.com
Setting the buffer variable b:eclim_project to the current project
name prevents the workspace prompt. I've updated[1] the code to set
those vars when those debug windows are created.

While testing this, I also ran into a new issue. When starting a debug
session, a couple seemingly random 'e' characters were being inserted
into the current file (actually they were replacing what ever char was
under the cursor at the time, but in my case they were added in the
leading whitespace area of lines). I tracked this down to the:
| redraw!
portion of the remote calls being sent from eclimd to vim. 'redraw!'
was being interpreted as normal mode keystrokes instead of as a
command. Since I don't remember running into this before, I'm guessing
a recent version of vim perhaps changed how the chaining of commands
works from remote calls. I've updated[2] the code to force the redraw
to be executed as a command, but I'm hoping you (or anyone else
monitoring this thread) can test out my change to make sure it still
works correctly for you.

[1] https://github.com/ervandew/eclim/commit/cf13e85f92a0fc974d784f71d4089ab711ee1e95
[2] https://github.com/ervandew/eclim/commit/d071b4585425d58d109a1d62fb6f7e6047b648f5

--
eric

Kannan Rajah

unread,
Jan 3, 2015, 6:30:39 PM1/3/15
to ecli...@googlegroups.com
Thanks. It works fine.

--
You received this message because you are subscribed to the Google Groups "eclim-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eclim-dev+unsubscribe@googlegroups.com.
To post to this group, send email to ecli...@googlegroups.com.
Visit this group at http://groups.google.com/group/eclim-dev.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages