File tree Expand file tree Collapse file tree
src/main/kotlin/spp/cli/commands/developer/instrument Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ import spp.cli.PlatformCLI
3838import spp.protocol.marshall.ProtocolMarshaller.deserializeLiveInstrumentRemoved
3939import spp.protocol.SourceServices.Provide.toLiveInstrumentSubscriberAddress
4040import spp.protocol.extend.TCPServiceFrameParser
41- import spp.protocol.instrument.event.LiveBreakpointHit
4241import spp.protocol.instrument.event.LiveInstrumentEvent
4342import spp.protocol.instrument.event.LiveInstrumentEventType
4443import spp.protocol.instrument.event.LiveLogHit
44+ import spp.protocol.marshall.ProtocolMarshaller
4545
4646class SubscribeEvents : CliktCommand (
4747 help = " Listens for and outputs live events. Subscribes to all events by default"
@@ -101,7 +101,7 @@ class SubscribeEvents : CliktCommand(
101101 }
102102 }
103103 LiveInstrumentEventType .BREAKPOINT_HIT -> {
104- val breakpointHit = Json .decodeValue( liveEvent.data, LiveBreakpointHit :: class .java )
104+ val breakpointHit = ProtocolMarshaller .deserializeLiveBreakpointHit( JsonObject ( liveEvent.data) )
105105 if (breakpointHit.breakpointId !in instrumentIds) {
106106 return @consumer
107107 }
You can’t perform that action at this time.
0 commit comments