Rust program doesn't stop at break point using CodeLLDB

288 views
Skip to first unread message

Ken Miura

unread,
Apr 22, 2021, 1:10:10 PM4/22/21
to CodeLLDB Users
Rust program doesn't stop at break point using CodeLLDB.

As following screenshot shows, I set break point at line 21. But program never stop at the line.
trial_on_vscode_with_codelldb.png

When I tried with CUI, the program stop at the line as following screenshot shows.
trial_on_lldb_cui.png

lldb worked with CUI. So I think something may be wrong with my CodeLLDB setting. But I don't understand what setting is wrong at all. Could anyone tell me what's wrong with my setting?

Environment information is as follows. And I attach my launch.json (I don't use "sourceMap" in launch.json because I didn't move source code location)

CodeLLDB
1.6.2

OS
Ubuntu 18.04.5 LTS

Editor
Visual Studio Code (information from "Help->About")
Version: 1.55.2
Commit: 3c4e3df9e89829dce27b7b5c24508306b151f30d
Date: 2021-04-13T09:37:02.931Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Linux x64 4.18.0-25-generic

Compiler
rustc 1.48.0 (7eac88abb 2020-11-16) (output of "rustc --version")

Debugger
lldb version 6.0.0 (output of "lldb -v")

launch.json

Vadim Chugunov

unread,
May 1, 2021, 6:24:55 PM5/1/21
to Ken Miura, CodeLLDB Users

--
You received this message because you are subscribed to the Google Groups "CodeLLDB Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codelldb-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codelldb-users/ca4df026-f290-49cc-ab04-61995dd388dan%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ken Miura

unread,
May 6, 2021, 5:25:09 AM5/6/21
to Vadim Chugunov, CodeLLDB Users
Thank you for telling me the issue. I tried again after updating CodeLLDB to 1.6.3, then it worked well : )

2021年5月2日(日) 7:24 Vadim Chugunov <vad...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages