|
@@ -558,7 +558,8 @@ bool CWsWorkunitsEx::onWUUpdate(IEspContext &context, IEspWUUpdateRequest &req,
|
|
ForEachItemIn(di, req.getDebugValues())
|
|
ForEachItemIn(di, req.getDebugValues())
|
|
{
|
|
{
|
|
IConstDebugValue& item = req.getDebugValues().item(di);
|
|
IConstDebugValue& item = req.getDebugValues().item(di);
|
|
- if (notEmpty(item.getName()))
|
|
|
|
|
|
+ const char *debugName = item.getName();
|
|
|
|
+ if (notEmpty(debugName) && *debugName!='-')
|
|
wu->setDebugValue(item.getName(), item.getValue(), true);
|
|
wu->setDebugValue(item.getName(), item.getValue(), true);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1175,7 +1176,8 @@ bool CWsWorkunitsEx::onWUSyntaxCheckECL(IEspContext &context, IEspWUSyntaxCheckR
|
|
ForEachItemIn(di, req.getDebugValues())
|
|
ForEachItemIn(di, req.getDebugValues())
|
|
{
|
|
{
|
|
IConstDebugValue& item=req.getDebugValues().item(di);
|
|
IConstDebugValue& item=req.getDebugValues().item(di);
|
|
- if(notEmpty(item.getName()))
|
|
|
|
|
|
+ const char *debugName = item.getName();
|
|
|
|
+ if (notEmpty(debugName) && *debugName!='-')
|
|
wu->setDebugValue(item.getName(), item.getValue(), true);
|
|
wu->setDebugValue(item.getName(), item.getValue(), true);
|
|
}
|
|
}
|
|
|
|
|