<br><br><div class="gmail_quote">On Wed, May 11, 2011 at 2:59 PM, Craig Latta <span dir="ltr">&lt;<a href="mailto:craig@netjam.org">craig@netjam.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
Hi--<br>
<br>
     For the next Spoon release I want debuggable VMs and plugins on all<br>
platforms. In 2007 for win32 I created a Microsoft Visual C &quot;solution&quot;<br>
for use with the free MSVC Express Edition (2008 or later). The debugger<br>
is decent.<br>
<br>
     I scanned the current CMake-based stuff, but didn&#39;t see anything<br>
about MSVC (or win32 gdb for that matter). Is there a current route for<br>
debugging the win32 VM using MSVC or gdb (or anything more pleasant than<br>
printf)? Or should I update my MSVC stuff and contribute it somewhere?<br>
In 2007 I only gave it to Andreas (the win32 VM maintainer) and a few<br>
other folks who asked for it.<br></blockquote><div><br><br>Hi Craig.  I did a<a href="http://marianopeck.wordpress.com/2011/04/23/how-to-debug-the-vm/"> post about how to build and debug a Cog VM</a> with the new CMake stuff and how do debug it. <br>
You probably know most of the stuff there but it may help you for the CMakeVMMaker configs. <br><br>Anyway, I tried to debug with gdb in Windows. The results where that I could sucessfully build the VM in windows with all the debug symblos, no compiler optimizations, etc...<br>
I could run the VM with gdb, no problem.  The only REAL problem (which is quite big in fact) I have is that when I did a ctrl+c instead of interrupting the VM and hence get the gdb prompt....it killed gdb directly :(  I look in Internet and seems to be a known problem. <br>
<br>I didn&#39;t try the CMake generator (-G xxx) because I don&#39;t have a Visual nothing installed. <br><br>Mariano<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
<br>
     thanks!<br>
<br>
-C<br>
<font color="#888888"><br>
--<br>
Craig Latta<br>
<a href="http://www.netjam.org/resume" target="_blank">www.netjam.org/resume</a><br>
<a href="tel:%2B31%20%2006%202757%207177" value="+31627577177">+31  06 2757 7177</a><br>
<a href="tel:%2B%201%20415%20%20287%203547" value="+14152873547">+ 1 415  287 3547</a><br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>