提交 c2e5d6df 编写于 作者: V visualfc

update LoadConfig recurse 16

上级 e6ba7b01
......@@ -933,7 +933,7 @@ void DlvRpcDebugger::updateWatch(int id)
if (s.contains(".")) {
gid = -1;
}
VariablePointer pt = m_dlvClient->EvalVariable(EvalScope(gid),s,LoadConfig::Max());
VariablePointer pt = m_dlvClient->EvalVariable(EvalScope(gid),s,LoadConfig::CustomeLong(16));
if (pt) {
watch.push_back(*pt);
} else {
......@@ -961,8 +961,8 @@ void DlvRpcDebugger::updateWatch(int id)
void DlvRpcDebugger::updateVariable(int id)
{
QList<Variable> vars = m_dlvClient->ListLocalVariables(EvalScope(id),LoadConfig::Max());
QList<Variable> args = m_dlvClient->ListFunctionArgs(EvalScope(id),LoadConfig::Max());
QList<Variable> vars = m_dlvClient->ListLocalVariables(EvalScope(id),LoadConfig::CustomeLong(16));
QList<Variable> args = m_dlvClient->ListFunctionArgs(EvalScope(id),LoadConfig::CustomeLong(16));
QMap<QString,QString> saveMap;
emit beginUpdateModel(LiteApi::VARS_MODEL);
......
......@@ -198,9 +198,9 @@ struct LoadConfig
int MaxArrayValues;
int MaxStructFields;
static LoadConfig Max()
static LoadConfig CustomeLong(int recurse = 16)
{
static LoadConfig lc(true,64,128,128,-1);
static LoadConfig lc(true,recurse,128,128,-1);
return lc;
}
static LoadConfig Long()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册