V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Suclogger
V2EX  ›  Rust

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

  •  1
     
  •   Suclogger · 2021-01-18 13:18:14 +08:00 · 1664 次点击
    这是一个创建于 1166 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 但是没有明确给出解决方式。

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

    第 1 条附言  ·  2021-01-28 18:49:55 +08:00
    更新到 Intellij Idea 2021 EAP 尝试调试,自动触发了 debugger 插件更新,而后就可以正常调试了。
    遇到类似问题的同学可以试下。
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5233 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 05:43 · PVG 13:43 · LAX 22:43 · JFK 01:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.