def get_stackFrames_and_totalFramesCount(self, threadId=None, startFrame=None, levels=None, dump=False):
    response = self.vscode.request_stackTrace(threadId=threadId, startFrame=startFrame, levels=levels, dump=dump)
    if response:
        stackFrames = self.get_dict_value(response, ['body', 'stackFrames'])
        totalFrames = self.get_dict_value(response, ['body', 'totalFrames'])
        self.assertTrue((totalFrames > 0), 'verify totalFrames count is provided by extension that supports async frames loading')
        return (stackFrames, totalFrames)
    return (None, 0)
def get_stackFrames_and_totalFramesCount(self, threadId=None, startFrame=None, levels=None, dump=False):
    response = self.vscode.request_stackTrace(threadId=threadId, startFrame=startFrame, levels=levels, dump=dump)
    if response:
        stackFrames = self.get_dict_value(response, ['body', 'stackFrames'])
        totalFrames = self.get_dict_value(response, ['body', 'totalFrames'])
        self.assertTrue((totalFrames > 0), 'verify totalFrames count is provided by extension that supports async frames loading')
        return (stackFrames, totalFrames)
    return (None, 0)