lib/dap/capabilities_event_body.rb in ruby-dap-0.1.2 vs lib/dap/capabilities_event_body.rb in ruby-dap-0.1.3
- old
+ new
@@ -1,6 +1,12 @@
require_relative 'capabilities'
+# The event indicates that one or more capabilities have changed. Since the
+# capabilities are dependent on the frontend and its UI, it might not be possible
+# to change that at random times (or too late). Consequently this event has a hint
+# characteristic: a frontend can only be expected to make a ‘best effort’ in
+# honouring individual capabilities but there are no guarantees. Only changed
+# capabilities need to be included, all other capabilities keep their values.
class DAP::CapabilitiesEventBody < DAP::Base
# The set of updated capabilities.
property :capabilities, as: DAP::Capabilities
end