List Info

Thread: RE: KDE/kdevelop/languages/cpp/debugger




RE: KDE/kdevelop/languages/cpp/debugger
user name
2007-12-14 10:14:48
Kris Wong wrote:

>> I'm not sure what's what here. Can I run arbitrary
complex
>> scripting code?
> 
> I do not think you can write script for the VS
debugger.  I am not really
> aware of a use case for doing so, though.

std::map? or std::list? To display both, you need to
actually traverse
data structures.

- Volodya



_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

RE: KDE/kdevelop/languages/cpp/debugger
user name
2007-12-14 10:24:40
> std::map? or std::list? To display both, you need to
actually traverse
> data structures.

;-----------------------------------------------------------
-------------------
;  std::map
;-----------------------------------------------------------
-------------------
std::map<*>{
        children
        (
                #tree
                (
                        head : $c._Myhead->_Parent,
                    skip : $c._Myhead,
                    size : $c._Mysize,
                    left : _Left,
                    right : _Right
                ) : $e._Myval
        )

        preview
        (
                #(
                        "[",
                        $e._Mysize,
                        "](",

                        #tree
                        (
                                head :
$c._Myhead->_Parent,
                                skip : $c._Myhead,
                                size : $c._Mysize,
                                left : _Left,
                                right : _Right
                        ) : $e._Myval,

                        ")"
                )
        )
}

Guess that proves my assumption about scripting incorrect!
=]

Kris Wong

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )