Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gnome-builder
gnome-builder
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 499
    • Issues 499
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 19
    • Merge Requests 19
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gnome-buildergnome-builder
  • Issues
  • #1381

Closed
Open
Opened Jan 04, 2021 by paulie4@paulie4

Document how to add CLI args for debugging

doc/help/projects/debugging.rst doesn't say how to configure the CLI arguments to pass to a program to debug. I found Issue 713, which says, "You can use x-run-opts inside flatpak manifest," but the example file it links to seems to use x-run-args, not x-run-opts.

This is only partially related, but when I tell Builder to open a project and select this folder: https://gitlab.gnome.org/GNOME/gtk/-/tree/master/examples/application3, for some reason, it highlights resources.c instead of main.c, and when I try to debug it, it somehow chooses to run demos/print-editor instead. Do I need to create a flatpak manifest for examples/application3 or is there an easier way to do this? Maybe this use case should also be documented?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gnome-builder#1381