V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Suclogger
V2EX  ›  Rust

[新手求助] M1 Mac 下使用 Intellij Rust 调试报错

  •  1
     
  •   Suclogger · Jan 18, 2021 · 2314 views
    This topic created in 1924 days ago, the information mentioned may be changed or developed.

    Rust 新手,开发环境为M1 Mac Air

    IDE 为 Intellij Idea With Rust Plugin

    代码: https://github.com/suclogger/leetcode-rust/blob/main/chapter_2/partition-labels/src/main.rs

    点击调试弹出的 attach 进程的许可也验证了,但是还是出现以下错误提示:

    img

    process exited with status -1 (Error 1)
    
    Process finished with exit code 0
    

    网上查阅了相关资料,唯一相关的是: https://youtrack.jetbrains.com/issue/IDEA-258707 但是没有明确给出解决方式。

    想请教下有没有人遇到过类似的问题,先行答谢。

    Supplement 1  ·  Jan 28, 2021
    更新到 Intellij Idea 2021 EAP 尝试调试,自动触发了 debugger 插件更新,而后就可以正常调试了。
    遇到类似问题的同学可以试下。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6001 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 03:28 · PVG 11:28 · LAX 20:28 · JFK 23:28
    ♥ Do have faith in what you're doing.