Skip to content

Launch configuration for C/C++ debugging of Ark packages #7175

Description

@lionel-

We could make it much easier to debug native code in a package by providing a launch configuration that would:

I'm not sure if this configuration should be provided by the R extension (dynamically) or by a usethis function (statically). My hunch is that a dynamic configuration is more convenient.

Activity

  1. jmcphers commented on Apr 8, 2025

    @jmcphers
    Collaborator

    So the PID (which is unknown from the parent process) would be sent by Ark on startup and cached on the frontend side.

    FWIW the kernel supervisor already knows the PID for Ark: it's part of the info that comes back when you query for session details. It might be easiest to get it from there.

    /**
    * The underlying process ID of the session, if the session is running.
    */
    'processId'?: number;

  2. added this to the Future milestone on Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions