If you add a defcompile statement to the end of the latest termdebug.vim script, there are a few compilation errors.
This PR addresses a few of them.
I also noticed that the commit ca48202 changed the
termdebug window layout. I am used to having the GDB window and the client program window as horizontally split windows on
the left and the vertically split source window on the right. This makes it easy to switch between the GDB window and the source
window. After this commit, now all the windows are vertically split (with the GDB window on the left, the client program window
in the middle and the source window on the right). This makes it difficult to switch between the GDB window and the source
window. I don't know the reasoning for this change.
https://github.com/vim/vim/pull/14941
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
i meant the vim9 convert,
as for the layout #13474 (comment) had explained it.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
i meant the vim9 convert,
as for the layout #13474 (comment) had explained it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
it is difficult to switch between the GDB window and the source window (because there are other windows in the middle).
i do not know how or what was leading you to such result, since the layout change looked was about 'Var' and 'Asm' window;
maybe that vim9 convert? i did not upgrade this convert yet (which i forsee there would be some broken since changed too much), so maybe you can varify that convert more if it was ok to do so? i may more trust you did that.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
or revert that vim9 convert for termdebug (and actually i recalled somewhere bram or someone expressed wanted to keep termdebug as legacy vim script before, not sure why now it convert to vim9).
after that, if you still found it was the auto-layout of Var and Asm make you face that problem, then i am ok you to revert that one too.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
it is difficult to switch between the GDB window and the source window (because there are other windows in the middle).
i do not know how or what was leading you to such result, since the layout change looked was about 'Var' and 'Asm' window;
maybe that vim9 convert? i did not upgrade this convert yet (which i forsee there would be some broken since changed too much), so maybe you can varify that convert more if it was ok to do so? i may more trust you did that.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
what other window in the middle you were trying to say?
did you manually opened var/asm window?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@yegappan pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
@yegappan Thanks for the changes, and sorry to have missed several spaces here and there. I like the introduction of StopCommand() and ContinueCommand(). I am planning to further exploit Vim9 import/export features to refactor the code and I will also try to use some funcrefs (example: switching funcref in a Init() function depending on the value of the variable way for example, but I identified several other places). My idea is to try to refactor the architecture in a more readable/easy-to-maintain/flexible way that shall easy e.g. the introduction of lldb(I read somewhere wish it) and perhaps DAP:s. Will I succeed? I dunno :) I'll send a PR once done.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.![]()
thanks! May be we need to find out what causes the layout switch again. I though this only happens in the ASM or variable window when this is opened ?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
Christian asked twice in #13474 for screenshots to demonstrate what that PR should do. None were given. Now this discussion here involves a lot of confusion about which extra windows are displayed where with what options ... it would be much simpler if people could start including screenshots when discussing layout changes/issues. A picture paints a thousand words etc.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
> > what other window in the middle you were trying to say?
> > did you manually opened var/asm window?
> >
>
> No. I am not using the var/asm windows. I use the following
> termdebug option to
> set the window width:
>
> let g:termdebug_config = {}
> let g:termdebug_config['wide'] = 164
then i do not know what happened to you, since the auto-layout is only about 'Var' and 'Asm' window,
if you did not manually open it (or enabled the option of auto, but i supposed you would not do so),
it should be not impact your other windows e.g source and gdb window.
// please check the code _before_ https://github.com/vim/vim/pull/14903 that vim9 convert,
// or after that convert, but i did not upgrade or tried to use that _yet_.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()