Rust LLDB error: module importing failed: No module named 'renderers'
See original GitHub issueEnvironment
- IntelliJ Rust plugin version: 0.4.170.4627-221
- Rust toolchain version: 1.60.0 (7737e0b5c 2022-04-04) x86_64-pc-windows-msvc
- IDE name and version: PyCharm 2022.1.1 Professional Edition (PY-221.5591.52)
- Operating system: Windows 10 10.0
- Macro expansion engine: new
- Name resolution engine: new
I’m using the Visual Studio 2019 build tools for the toolchain.
Problem description
When debugging a program, I get the following in the Rust LLDB panel:
error: module importing failed: No module named ‘renderers’ File “temp.py”, line 1, in <module>
error: ‘jb_renderers_set_diagnostics_level’ is not a valid command. error: module importing failed: No module named ‘renderers’ File “temp.py”, line 1, in <module>
error: ‘jb_renderers_loaders_add’ is not a valid command. Breakpoint 1: where = test01.exe`std::panicking::rust_panic() at panicking.rs:743, address = 0x0000000140009d60 error: ‘jb_renderers_set_global_hex’ is not a valid command.
And at each command,
error: ‘jb_renderers_set_global_hex’ is not a valid command.
Steps to reproduce
- create new Rust project
- keep the default code:
fn main() {
println!("Hello, world!");
}
- place a breakpoint on the
printline - Debug ‘run’ (shift-F9) => error in the LLDB panel
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Ultimate IntelliJ 2020.3.2 with Rust 1.49.0 there is no values in ...
I tried different settings for Debugger/Data Views but no change. ... error: module importing failed: No module named 'renderers'
Read more >Native Debugger broken [236561961] - Issue Tracker - Google
LLDB window outputs: ... ModuleNotFoundError: No module named 'renderers' error: ... error: module importing failed: Traceback (most recent call last):
Read more >How to import lldb module for python on Mac? - Stack Overflow
I've tried to use the Python internal debugger module pdb . But when I use the internal debugger command from the Xcode lldb...
Read more >error: module importing failed: in… | Apple Developer Forums
you can try to remove './lldbinit' if you have install chisel,or install it try again。 Posted 1 year ago by. CiSong.
Read more >Announcing LLDB for VSCode - #20 by vadimcn
Does anyone else get this error immediately after launching or trying to attach? error: module importing failed: No module named adapter
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ortem This solves the issue, thanks a lot!
@blueglyph I think the simplest workaround would be to disable
Enable NatVis renderers for LLDBcheckbox inFile | Settings | Build, Execution, Deployment | Debugger | Data Views | C/C++settings. Please let us know if that solves the problem with annoying error messages.