ddddad
V2EX  ›  Rust

tikio 里面的代码怎么调试呢

  •  
  •   ddddad · Jun 17, 2025 · 2826 views
    This topic created in 335 days ago, the information mentioned may be changed or developed.

    目前用 rustover gdb 断点进不去啊

    7 replies    2025-08-13 21:21:07 +08:00
    wyntalgeer
        1
    wyntalgeer  
       Jun 17, 2025
    Rust 果然无人讨论
    ddddad
        2
    ddddad  
    OP
       Jun 17, 2025
    凉飕飕...
    memcache
        3
    memcache  
       Jun 26, 2025 via iPhone
    试试 rustRover
    PTLin
        4
    PTLin  
       Jun 27, 2025
    我记得闭包或者 async 块这种是没法打断点的。
    ddddad
        5
    ddddad  
    OP
       Jun 27, 2025
    @memcache 就是用的这个 这种无法断点好痛苦 typescript 的异步也能断点
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1012 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 22:31 · PVG 06:31 · LAX 15:31 · JFK 18:31
    ♥ Do have faith in what you're doing.