<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr">On Sat, 12 Jan 2019 at 07:36, Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div dir="ltr">Thanks, I think that is can be a good complementary tool.<br></div><br><div class="gmail_quote"><div dir="ltr">Le ven. 11 janv. 2019 à 23:49, Guillermo Polito <<a href="mailto:guillermopolito@gmail.com" target="_blank">guillermopolito@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div dir="ltr"><div dir="ltr">Hi guys,<div dir="ltr" class="gmail-m_-7302598476168506317gmail-m_2446672693777295314gmail_signature"><div dir="ltr"><div></div></div></div><div><br></div><div>We have been using this week with Pablo a combination of Visual Studio Code, cygwin, and gdb to build and debug the VM to chase some issues during ffi calls in win64.</div><div><br></div><div>It was overall simple to setup, and though I thought it was going to be just a text editor with vitamines, it ended up being a really light but versatile IDE with code navigation, compilation and debugging integration.</div></div></div></blockquote></div></blockquote><div><br></div><div>My understanding of it was also that it was more an editor than a debugger.  Nice to learn there is more to it.</div><div><br></div><div>Another option is Visual Studio Community.  Its interesting to remember that VS on Windows can remotely compile </div><div>and debug on a Linux box.  - either WSL or on a cloud box.  Its something I've been meaning to try out.</div><div>Perhaps useful if a client needed VM support on a distro you didn't have locally. </div><div>* Visual Studio 2017  Linux development with C++  (<a href="https://www.youtube.com/watch?v=XIiFuBczd6A">https://www.youtube.com/watch?v=XIiFuBczd6A</a>)</div><div>* (<a href="https://docs.microsoft.com/en-us/cpp/linux/deploy-run-and-debug-your-linux-project?view=vs-2017">https://docs.microsoft.com/en-us/cpp/linux/deploy-run-and-debug-your-linux-project?view=vs-2017</a>)</div><div><br></div><div>cheers -ben</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><br></div><div>But, since there were some little things over here and there like gdb source code mapping that was not so straight forward to find in the documentation, we thought it would be good to share it.</div><div><br></div><div>If somebody is interested in using a similar setup to work with the VM, I've left my configuration files in the following gist, including:</div><div><br></div><div> - cygwin bash terminal integration (also with zsh, but that's pure cygwin)</div><div> - task actions to build cog and stack vms on debug mode</div><div> - launch configs to run both in debug mode with gdb attached </div><div><br></div><div><a href="https://gist.github.com/guillep/452a9be3d231db6f89dd40bfb8cf4405" target="_blank">https://gist.github.com/guillep/452a9be3d231db6f89dd40bfb8cf4405</a></div><div><br></div><div>Cheers,</div><div>Guille & Pablo</div></div></div>
</blockquote></div>
</blockquote></div></div></div></div></div>