www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Using gdb by some process to let this process monitor its state by

Is it possible to invoke gdb by some process that using data from gdb 
this process can inspect itself?
For example I'd like to generate breakpoints for gdb with conditions and 
if this conditions meet get for example pointer to some data structure 
from gdb and process it by means of D, not gdb, then continue running 
under control of gdb until another breakpoint condition meets and so on? 
My purpose is to join abilities of gdb and D together.
Dec 08 2015