715
699
int vrc = STAMR3Snapshot (pVM, Utf8Str (aPattern).raw(), &pszSnapshot, NULL,
718
702
return vrc == VERR_NO_MEMORY ? E_OUTOFMEMORY : E_FAIL;
720
704
/** @todo this is horribly inefficient! And it's kinda difficult to tell whether it failed...
721
705
* Must use UTF-8 or ASCII here and completely avoid these two extra copy operations.
722
706
* Until that's done, this method is kind of useless for debugger statistics GUI because
723
707
* of the amount statistics in a debug build. */