-
I am wondering if there is a way to step-through the native Rust code from IntelliJ? With cmake and gyp extensions written in C++/Objective-C I can usually debug with CLion/AppCode. Related: intellij-rust/intellij-rust#7763 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Is that article help https://rustc-dev-guide.rust-lang.org/debugging-support-in-rustc.html#debuggers ? |
Beta Was this translation helpful? Give feedback.
-
BTW, I know the way step into rust code in VSCode by using vscode-lldb plugin.
// test.js
const { test } = require('path/to/addon.node')
test() You would go stepped into native code successfully. |
Beta Was this translation helpful? Give feedback.
-
So I was trying to get it to work with the SWC project. I created a new
So I'm thinking its something to do with how SWC is setup or how I am running things. |
Beta Was this translation helpful? Give feedback.
So I was trying to get it to work with the SWC project. I created a new
napi-rs
project from template, and in CLion it works perfectly. Repro here: https://github.com/vjpr/issue-napi-rs-intellijsrc/lib.rs
So I'm thinking its something to do with how SWC is setup or how I am running things.