Browse Source

Debugger: Show a more descriptive name for children in the element info window

Michael Ragazzon 3 years ago
parent
commit
96b990a092
1 changed files with 1 additions and 7 deletions
  1. 1 7
      Source/Debugger/ElementInfo.cpp

+ 1 - 7
Source/Debugger/ElementInfo.cpp

@@ -599,13 +599,7 @@ void ElementInfo::UpdateSourceElement()
 				if (IsDebuggerElement(child))
 					continue;
 
-				String child_name = child->GetTagName();
-				const String child_id = child->GetId();
-				if (!child_id.empty())
-				{
-					child_name += "#";
-					child_name += child_id;
-				}
+				const String child_name = child->GetAddress(false, false);
 				const char* non_dom_string = (i >= num_dom_children ? " class=\"non_dom\"" : "");
 
 				children += CreateString(child_name.size() + 40, "<p id=\"c %d\"%s>%s</p>", i, non_dom_string, child_name.c_str());