Skip to content

trace expression or variables window#178

Closed
escher9 wants to merge 16 commits intovim-vdebug:masterfrom
escher9:master
Closed

trace expression or variables window#178
escher9 wants to merge 16 commits intovim-vdebug:masterfrom
escher9:master

Conversation

@escher9
Copy link
Copy Markdown
Contributor

@escher9 escher9 commented Sep 8, 2014

:VdebugTrace {expression or variables}

window added for tracing expression or variables continuously

@joonty
Copy link
Copy Markdown
Collaborator

joonty commented Oct 20, 2014

Hi,

This is fantastic! It works really well, apart from one thing: if you run VdebugTrace without any arguments it tries to evaluate an empty string, which gives an error. The best way would be to print an error if there are no arguments, or if they are blank. Does that make sense?

Thanks very much for the contribution!

@escher9
Copy link
Copy Markdown
Contributor Author

escher9 commented Nov 3, 2014

Thank you for your encouragement, well, but I can't reproduce the error you mentioned.
When I tried empty argument, it only displays (invalid expression yet).
Because I use exception for that like this

except vdebug.dbgp.EvalError:

  •        self.ui.tracewin.accept_value('(invalid expression yet)')
    

Strange..

joonty added a commit that referenced this pull request Aug 21, 2015
@joonty
Copy link
Copy Markdown
Collaborator

joonty commented Aug 21, 2015

Finally got around to incorporating this! I tweaked it a bit - the trace window only shows when you call the :VdebugTrace command for instance, but it's all based on your original work. Thanks very much, and sorry it's taken so long. It's going in to the next release, which should be pretty soon.

@joonty joonty closed this Aug 21, 2015
@joonty joonty added this to the Version 1.4.3 milestone Aug 21, 2015
@juampynr juampynr mentioned this pull request Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants