Skip to content Skip to footer
0 items - $0.00 0

Show HN: CodeTracer – A new time-traveling debugger implemented in Nim and Rust by alehander42

Show HN: CodeTracer – A new time-traveling debugger implemented in Nim and Rust by alehander42

Show HN: CodeTracer – A new time-traveling debugger implemented in Nim and Rust by alehander42

17 Comments

  • Post Author
    sizediterable
    Posted March 6, 2025 at 2:53 pm

    [flagged]

  • Post Author
    kingforaday
    Posted March 6, 2025 at 3:04 pm

    Congrats on the release! Looks like you have done a great job so far. Doesn't fit a need for me at the moment, but I will keep an eye out for the alternative back-end evolution and additional programming language support. Thanks!

  • Post Author
    rubenvanwyk
    Posted March 6, 2025 at 3:11 pm

    Looks really cool, but in production systems, won't the trace files proliferate at extreme speed? How would you correlate the files to a certain session for user identification for example?

  • Post Author
    optymizer
    Posted March 6, 2025 at 3:13 pm

    Is there anything out there for Android?

  • Post Author
    pzo
    Posted March 6, 2025 at 3:19 pm

    I love it, I always wished for something like that. Will try to later test with python. Wish there was also for JS/TS. As for rr debugger did it got by now any support for MacOS or Windows or Android? I'm also wondering how heavy are those recording for typical apps.

    This would be also great for LLM to give some context via MCP server or even let LLM pick what variables history wanna see instead of giving full recording file.

    Also nice would be some recording filtering that you wanna e.g. pick few variables and display history during whole execution maybe with some specific formating and maybe even for some numeric variables or like tensors, images, etc pass to rerun for visual debugging so you can see plot it

  • Post Author
    muizelaar
    Posted March 6, 2025 at 3:26 pm

    How does the implementation compare to RR?

  • Post Author
    dloss
    Posted March 6, 2025 at 3:31 pm

    Noir is a Domain Specific Language for SNARK proving systems.
    https://noir-lang.org/

  • Post Author
    fdasdffda
    Posted March 6, 2025 at 3:31 pm

    [flagged]

  • Post Author
    dinnertime
    Posted March 6, 2025 at 3:49 pm

    Congrats on your release!

    One question I have is, how exactly does it record and what are the boundaries of the recording?

    For example does it only record the userland execution of a single process, or does it have broader boundaries like including kernel code and/or execution of multiple processes? How does it handle shared memory regions that may be modified outside of the recording?

  • Post Author
    cxie
    Posted March 6, 2025 at 4:03 pm

    The Noir support makes sense given its use in ZK proofs where execution tracing is particularly valuable, but I'm really looking forward to the Python and Ruby implementations. Those languages' dynamic nature makes bugs particularly elusive sometimes.

    Has anyone here tried using this with Noir yet? I'm curious about the performance overhead of the tracing mechanism, especially for longer-running programs. Also wondering if there are plans to support JavaScript/TypeScript for web development use cases.

  • Post Author
    slifin
    Posted March 6, 2025 at 4:12 pm

    If you are using Clojure or ClojureScript check out FlowStorm:

    https://www.flow-storm.org/

  • Post Author
    elcritch
    Posted March 6, 2025 at 4:38 pm

    Very excited for this! I donated on open collective already. The team is full of talented people. A nice interface to time travel debugging, with Nim support soon nonetheless.

    Though if it uses rr it won’t be able to run on macOS. Bummer, macOS seems to get harder and debug on. Luckily lima vms make it easy to remote :/

  • Post Author
    forrestthewoods
    Posted March 6, 2025 at 4:40 pm

    Windows support? What languages? How does it work?

    I don’t like that the headline is “designed to support multiple languages” but it only actually supports an obscure language I’ve never heard of. Feels like a bait and switch.

  • Post Author
    Alifatisk
    Posted March 6, 2025 at 4:51 pm

    Even support for D? Wow they thought of everything

  • Post Author
    Apofis
    Posted March 6, 2025 at 4:54 pm

    Any chance of something like this being available for Java/Kotlin on JVM?

  • Post Author
    esafak
    Posted March 6, 2025 at 4:54 pm

    Thank you for building up the nim ecosystem.

  • Post Author
    jedisct1
    Posted March 6, 2025 at 5:03 pm

    Because in an HN title, the language a tool is written in or the kind of music the author listens to matters more than what the tool actually does.

Leave a comment

In the Shadows of Innovation”

© 2025 HackTech.info. All Rights Reserved.

Sign Up to Our Newsletter

Be the first to know the latest updates

Whoops, you're not connected to Mailchimp. You need to enter a valid Mailchimp API key.