-
Notifications
You must be signed in to change notification settings - Fork 285
Description
This isn't really a bug report but rather a list of issues workflow I have. Some of them are related to w64devkit while others are more of a windows issue - but maybe I can get some suggestions here anyways.
Ctrl+z
This was one of the biggest issues I ran into since my workflow consists of getting in and out of vim quickly via ctrl+z. But looking at #30 it seems like this is unfixable. I've mostly managed to work around this by using 2 terminals and alt+tab.
Gdb locking up the executable
This is currently the biggest annoyance for me when using w64devkit. Because gdb locks up the exe, I cannot recompile the source again unless I go over to gdb and kill the exe with k
. This is huge flow killer for me, especially since I'm not familiar with windows APIs and thus am often trying multiple different things out which requires lots of recompilations.
vim's termdebug plugin
Vim has a builtin plugin called termdebug
which integrates gdb in vim. You can try it with :packadd termdebug
and then :Termdebug
. The problem is the gdb it spawns is unaware of w64devkit's environment. And so !
commands don't call into w64dk's shell and so forth.
I can cope with it by using a different terminal for gdb so it's more of a minor issue, though I'd prefer if termdebug
worked properly instead since having editor and debugger integrated gives a better experience IMO since the line I'm stepping over in the debugger becomes synced with the editor window. And so if I notice something needs change, I can make that change more easily since the editor is at that line already.
PDB support
I've been thinking of switching over to Raddebugger (https://github.com/EpicGamesExt/raddebugger) on windows to avoid some of these gdb annoyances. But raddbg currently doesn't support DWARF files (it's in the roadmap though), only PDB. It might be nice to have some tool that can emit pdb in w64dk (afaik, clang can, but I doubt you'd want to add a giant tool like llvm/clang).
I have found this tool that claims to be able to do dwarf -> pdb conversion: https://github.com/rainers/cv2pdb but I haven't tried it out yet.