Fix children printing separator
authorIgor Kulaychuk <i.kulaychuk@samsung.com>
Wed, 12 Jul 2017 18:16:12 +0000 (21:16 +0300)
committerIgor Kulaychuk <i.kulaychuk@samsung.com>
Mon, 13 Nov 2017 19:22:40 +0000 (22:22 +0300)
src/debug/debugger/varobj.cpp

index e257a90..ae14e10 100644 (file)
@@ -232,6 +232,8 @@ static void PrintChildren(std::vector<VarObjValue> &members, int print_values, I
     const char *sep = "";
     for (auto &m : members)
     {
+        ss << sep;
+        sep = ",";
         PrintChild(InsertVar(m), print_values, pILFrame, ss);
     }