You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step to reproduced the Bug from fresh install of lapce
Install Lapce
Install Rust Plugin and Lapce LLDB plugin
brew install llvm
set PATH of llvm bin
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
copy the path to Lapce Settings.
Add a Run.toml on root of project folder
# The run config is used for both run mode and debug mode
[[configs]]
# the name of this taskname = "codeitlikemiley"# the type of the debugger. If not set, it can't be debugged but can still be runtype = "lldb"# the program to runprogram = "target/debug/mileysequel"
[configs.prelaunch]
program = "cargo"args = [
"build",
]
Toggle a break point
Hit Debugger
Here is the Video of the said Bug:
Screen.Recording.2023-12-29.at.10.12.24.PM.mov
This is the log file , a simplified version where I just open lapce , click on a debugger breakpoint, and run the debugger.
2023-12-30T05:44:07.111901Z INFO lapce_app::app: Starting up Lapce..
2023-12-30T05:44:07.535916Z INFO lapce_app::app: Starting up Lapce..
2023-12-30T05:44:08.131743Z WARN lapce_app::window_tab: [Rust] Usage of startLspServer as a notification is deprecated.
2023-12-30T05:44:08.152600Z WARN lapce_app::window_tab: [Crates] Usage of startLspServer as a notification is deprecated.
2023-12-30T05:44:08.161221Z ERROR lapce_app::window_tab: lsp server /Users/uriah/Library/Application Support/dev.lapce.Lapce-Stable/plugins/MathiasPius.lapce-crates/crates-lsp-0.0.2 stopped!
2023-12-30T05:44:17.009201Z DEBUG lapce_app::keypress: Pointer(PointerInputEvent { pos: (234.453125, 429.14453125), button: Primary, modifiers: ModifiersState(0x0), count: 1 })
2023-12-30T05:44:17.010578Z DEBUG lapce_app::keypress: Pointer(PointerInputEvent { pos: (234.453125, 429.14453125), button: Primary, modifiers: ModifiersState(0x0), count: 1 })
2023-12-30T05:44:19.038004Z DEBUG lapce_app::keypress: Pointer(PointerInputEvent { pos: (1023.796875, 17.23828125), button: Primary, modifiers: ModifiersState(0x0), count: 1 })
2023-12-30T05:44:19.038095Z DEBUG lapce_app::keypress: Pointer(PointerInputEvent { pos: (1023.796875, 17.23828125), button: Primary, modifiers: ModifiersState(0x0), count: 1 })
Note: that if I don't add any breakpoint the debugger would just run and complete the whole building of app e.g. the basic hello world would be echoed out. But Hitting the breakpoint and running the debugger it would just crash Lapce.
A video is attached to show the bug:
Im currently facing an issue using LLDB
Im using MacOS 14inc M1
Step to reproduced the Bug from fresh install of lapce
brew install llvm
Here is the Video of the said Bug:
Screen.Recording.2023-12-29.at.10.12.24.PM.mov
This is the log file , a simplified version where I just open lapce , click on a debugger breakpoint, and run the debugger.
2023-12-30T05:44:07.111901Z INFO lapce_app::app: Starting up Lapce.. 2023-12-30T05:44:07.535916Z INFO lapce_app::app: Starting up Lapce.. 2023-12-30T05:44:08.131743Z WARN lapce_app::window_tab: [Rust] Usage of startLspServer as a notification is deprecated. 2023-12-30T05:44:08.152600Z WARN lapce_app::window_tab: [Crates] Usage of startLspServer as a notification is deprecated. 2023-12-30T05:44:08.161221Z ERROR lapce_app::window_tab: lsp server /Users/uriah/Library/Application Support/dev.lapce.Lapce-Stable/plugins/MathiasPius.lapce-crates/crates-lsp-0.0.2 stopped! 2023-12-30T05:44:17.009201Z DEBUG lapce_app::keypress: Pointer(PointerInputEvent { pos: (234.453125, 429.14453125), button: Primary, modifiers: ModifiersState(0x0), count: 1 }) 2023-12-30T05:44:17.010578Z DEBUG lapce_app::keypress: Pointer(PointerInputEvent { pos: (234.453125, 429.14453125), button: Primary, modifiers: ModifiersState(0x0), count: 1 }) 2023-12-30T05:44:19.038004Z DEBUG lapce_app::keypress: Pointer(PointerInputEvent { pos: (1023.796875, 17.23828125), button: Primary, modifiers: ModifiersState(0x0), count: 1 }) 2023-12-30T05:44:19.038095Z DEBUG lapce_app::keypress: Pointer(PointerInputEvent { pos: (1023.796875, 17.23828125), button: Primary, modifiers: ModifiersState(0x0), count: 1 })
Note: that if I don't add any breakpoint the debugger would just run and complete the whole building of app e.g. the basic hello world would be echoed out. But Hitting the breakpoint and running the debugger it would just crash Lapce.
@dzhou121 any thoughts on this?
The text was updated successfully, but these errors were encountered: