Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors running debugger (found cause) #290

Open
Fedreg opened this issue Nov 25, 2020 · 1 comment
Open

Errors running debugger (found cause) #290

Fedreg opened this issue Nov 25, 2020 · 1 comment

Comments

@Fedreg
Copy link

Fedreg commented Nov 25, 2020

Error running debugger (found cause)

A few months ago I reported #208 showing that the debugger window was not displaying at the correct spot in the screen.
I determined that this happens when "let g:iced_enable_default_key_mappings = v:true"
if false, the debugger worked as expected.

I hadn't dug deeper on this since I usually have Emacs open as well and just jumped into that for Debugger use.

However, was really not in the mood to open up Emacs today so jumped in more and found the cause.

It's related to the 2 backticks on the end of this binding:

<Leader>ee <Plug>(iced_eval)<Plug>(sexp_outer_list)``

With those 2 backticks included the debugger behaves oddly, as in #208

If I undo the default mappings, explicitly set nmap <Leader>ee <Plug>(iced_eval)<Plug>(sexp_outer_list) (no backticks), it works as expected.

Sadly I know very little vimscript so don't want to poke around the source and attempt a PR. If this info gives any idea as to the cause and it is a very simple fix, that would be greatly appreciated when you find the time.

No rush and no expectations on my end.

As always, thanks for all your work on this awesome tool.

@liquidz
Copy link
Owner

liquidz commented Nov 25, 2020

@Fedreg Thank you for the information!
I'll have a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants