Skip to content

Commit f9a0efd

Browse files
viuginick1valich
authored andcommitted
deleted check instance has object_id method
1 parent 6f7703f commit f9a0efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby-debug-ide/xml_printer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def print_variable(name, value, kind)
279279
print("<variable name=\"%s\" %s kind=\"%s\" %s type=\"%s\" hasChildren=\"%s\" objectId=\"%#+x\">",
280280
CGI.escapeHTML(name), build_compact_value_attr(value, value_str), kind,
281281
build_value_attr(escaped_value_str), value.class,
282-
has_children, value.respond_to?(:object_id) ? value.object_id : value.id)
282+
has_children, value.object_id)
283283
print("<value><![CDATA[%s]]></value>", escaped_value_str) if Debugger.value_as_nested_element
284284
print('</variable>')
285285
rescue StandardError => e

0 commit comments

Comments
 (0)