Dne 2.10.2014 v 19:02 ketmar via Digitalmars-d napsal(a): > On Thu, 02 Oct 2014 16:45:21 +0000 > via Digitalmars-d <[email protected]> wrote: > >> That's pretty cool, so you basically use the reflection >> capabilities of D to "generate" your own custom CLI to the >> application? > yes. some naming conventions and one mixin -- and all interesting > variables and functions from the given module are automatically > registered in command console. so i can inspect and change variables > and fields, call free functions and class/struct member functions, even > write simple scripts. it's really handy. and i connect to this console > using telnet (if telnet support is activated). > > this also allows some forms of unified "automated testing" even for GUI > apps, all without building special "debug versions", i.e. on production > code. >
That is mighty interesting. Would you be willing to share some code? Right now, I am teaching my students about debugging in C/C++ and I want to give them some perspective from other languages and environments. Thanks. Martin
smime.p7s
Description: Elektronicky podpis S/MIME
