bool CmdWhere::onServer(DebuggerProxy &proxy) { if (m_type == KindOfWhereAsync) { m_stacktrace = createAsyncStacktrace(); } else { m_stacktrace = createBacktrace(BacktraceArgs() .withSelf() .ignoreArgs(!m_stackArgs)); } return proxy.sendToClient(this); }
bool CmdWhere::onServer(DebuggerProxy &proxy) { if (m_type == KindOfWhereAsync) { m_stacktrace = createAsyncStacktrace(); } else { m_stacktrace = g_vmContext->debugBacktrace(false, true, false); if (!m_stackArgs) { removeArgs(); } } return proxy.sendToClient(this); }