Skip to content

Commit 4c0717e

Browse files
committed
取消workaround,各种调试特性恢复为主插件
1 parent 5a73ec7 commit 4c0717e

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/com/tang/intellij/lua/debugger/emmyAttach/EmmyAttachDebugProcess.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,6 @@ class EmmyAttachDebugProcess(
104104
return handler.exitCode == 0
105105
}
106106

107-
// work around 等以后删掉
108-
override fun registerBreakpoint(sourcePosition: XSourcePosition, breakpoint: XLineBreakpoint<*>) {
109-
val file = sourcePosition.file
110-
val shortPath = file.canonicalPath
111-
if (shortPath != null) {
112-
send(AddBreakPointReqEx(listOf(BreakPointEx(shortPath, breakpoint.line + 1, breakpoint.conditionExpression?.expression))))
113-
}
114-
}
115107

116108
override fun onReceiveMessage(cmd: MessageCMD, json: String) {
117109
if (cmd == MessageCMD.AttachedNotify) {

src/com/tang/intellij/lua/debugger/emmyLaunch/EmmyLaunchDebugProcess.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,6 @@ class EmmyLaunchDebugProcess(session: XDebugSession, val configuration: EmmyLaun
215215

216216
}
217217

218-
// work around 等以后删掉
219-
override fun registerBreakpoint(sourcePosition: XSourcePosition, breakpoint: XLineBreakpoint<*>) {
220-
val file = sourcePosition.file
221-
val shortPath = file.canonicalPath
222-
if (shortPath != null) {
223-
send(AddBreakPointReqEx(listOf(BreakPointEx(shortPath, breakpoint.line + 1, breakpoint.conditionExpression?.expression))))
224-
}
225-
}
226218

227219
override fun onDisconnect() {
228220
super.onDisconnect()

0 commit comments

Comments
 (0)