class PrettyHeapString
Defined at line 159 of file ../../src/developer/debug/zxdb/expr/pretty_type.h
For pretty-printing character strings that live on the heap.
This gets a little more complicated for strings that live in an array inline in some type
because theoretically it could (but normally can't) be in a temporary we can't take the address
of. Even if we could do that, it would require a fetch of memory from the target that we already
have locally. So this class is limited to the fetching from the heap case.
Public Methods
void PrettyHeapString (const std::string &ptr_expr,const std::string &size_expr,std::initializer_list<std::pair<std::string, std::string>>getters)
Defined at line 161 of file ../../src/developer/debug/zxdb/expr/pretty_type.h
void Format (FormatNode *node,const FormatOptions &options,const fxl::RefPtr<EvalContext> &context,fit::deferred_callbackcb)
Defined at line 460 of file ../../src/developer/debug/zxdb/expr/pretty_type.cc
EvalArrayFunction GetArrayAccess ()
Defined at line 496 of file ../../src/developer/debug/zxdb/expr/pretty_type.cc