<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Thanks Mathias,&nbsp;</div><div class=""><br class=""></div>Nice, I am mostly from the windows world so I never heard of these xmethods. But people in SG14 suggested to me that mixed python/c++ debugging was similar to the PS2 VU0 co-processor debugging experience I had. Maybe this is another part of what they meant.&nbsp;<div class=""><div class=""><div class=""><br class=""></div><div class="">Scott<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 16, 2019, at 6:30 PM, Mathias Stearn &lt;<a href="mailto:redbeard0531@gmail.com" class="">redbeard0531@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">I know this isn't exactly what you are talking about, but gdb has a related feature called xmethods:&nbsp;<a href="https://sourceware.org/gdb/onlinedocs/gdb/Xmethods-In-Python.html" class="">https://sourceware.org/gdb/onlinedocs/gdb/Xmethods-In-Python.html</a>. And dwarf when emitted at a high enough level lets you single step linewise through inlined functions.<div dir="auto" class=""><br class=""></div><div dir="auto" class="">Neither of these really help with constexpr though.</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Sat, Feb 16, 2019, 2:13 PM Scott Wardle &lt;<a href="mailto:swardle@gmail.com" class="">swardle@gmail.com</a> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class="">Hi everyone,&nbsp;</div><div class=""><br class=""></div><div class=""><div class="">A few people in the SG14 group suggested I cross post this idea here as this is a debugging tools problem not just a Games/Trading/ low latency issue. &nbsp;</div></div><div class=""><br class=""></div><div class="">Anyways I realized the other I have never seen a ISO paper that included the work debug in the title. This surprised me. Maybe they just don’t really go in the standard as it is more a quality issue than a wording one.&nbsp;&nbsp;</div><div class=""><br class=""></div><div class="">My dream is to come up with a system where we can debug an optimized build like a debug build?&nbsp; Some mixed compile time vs runtime debugger debugger system.&nbsp; So even if the function is gone maybe there is some way to still step into it and see what the compiler saw.&nbsp; With a JIT compiler I am surprised this does not happen today. If you step in to a java function you might as well debug the debug one or have a choice between the debug and optimized ones. In C++ I think this is a harder problem… but I can’t tell if it is imposable.&nbsp;</div><div class=""><br class=""></div><div class="">This is kind of a high bar maybe we could just do some of the easier function first? If we really want normally programmers to use meta classes, write JSON reader and REGEX-ing at compile time… I would say sooner or later it might be a good idea to step though the code in a debugger. &nbsp;</div><div class=""><br class=""></div><div class="">Anyways here is my blog post.&nbsp;</div><div class=""><a href="http://www.swardle.com/sweb/blog5.html" target="_blank" rel="noreferrer" class="">http://www.swardle.com/sweb/blog5.html</a>&nbsp;</div><div class=""><br class=""></div><div class="">Scott</div></div>_______________________________________________<br class="">
Tooling mailing list<br class="">
<a href="mailto:Tooling@isocpp.open-std.org" target="_blank" rel="noreferrer" class="">Tooling@isocpp.open-std.org</a><br class="">
<a href="http://www.open-std.org/mailman/listinfo/tooling" rel="noreferrer noreferrer" target="_blank" class="">http://www.open-std.org/mailman/listinfo/tooling</a><br class="">
</blockquote></div>
_______________________________________________<br class="">Tooling mailing list<br class=""><a href="mailto:Tooling@isocpp.open-std.org" class="">Tooling@isocpp.open-std.org</a><br class="">http://www.open-std.org/mailman/listinfo/tooling<br class=""></div></blockquote></div><br class=""></div></div></div></body></html>