File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Common/src/main/kotlin/gay/object/hexdebug/adapter Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -140,14 +140,14 @@ open class DebugAdapter(val player: ServerPlayer) : IDebugProtocolServer {
140140 supportsLoadedSourcesRequest = true
141141 supportsTerminateRequest = true
142142 supportsRestartRequest = true
143- exceptionBreakpointFilters = ExceptionBreakpointType .entries .map {
143+ exceptionBreakpointFilters = ExceptionBreakpointType .values() .map {
144144 ExceptionBreakpointsFilter ().apply {
145145 filter = it.name
146146 label = it.label
147147 default_ = it.isDefault
148148 }
149149 }.toTypedArray()
150- breakpointModes = SourceBreakpointMode .entries .map {
150+ breakpointModes = SourceBreakpointMode .values() .map {
151151 BreakpointMode ().apply {
152152 mode = it.name
153153 label = it.label
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import org.eclipse.lsp4j.debug.InitializeRequestArguments
77sealed interface DebugAdapterState {
88 val initArgs: InitializeRequestArguments ? get() = null
99
10- data object NotConnected : DebugAdapterState
10+ object NotConnected : DebugAdapterState
1111
1212 data class Initialized (override val initArgs : InitializeRequestArguments ) : DebugAdapterState
1313
You can’t perform that action at this time.
0 commit comments