Skip to content

[dev] Add TaskThread Qt debugging#3038

Open
Alxiice wants to merge 3 commits intodevelopfrom
dev/add_task_thread_debugging
Open

[dev] Add TaskThread Qt debugging#3038
Alxiice wants to merge 3 commits intodevelopfrom
dev/add_task_thread_debugging

Conversation

@Alxiice
Copy link
Copy Markdown
Contributor

@Alxiice Alxiice commented Mar 10, 2026

Description

This PR adds a way to debug TaskThread.
Before this PR we cannot add a breakpoint on a TaskThread.

Content of the PR

If a DEBUGGING env var is set to True we enable the debugging on the task thread

How to use

In VSCode this launch.json can be used

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Meshroom",
            "type": "debugpy",
            "request": "launch",
            "program": "meshroom/ui",
            "console": "integratedTerminal",
            "env": {
                // "MESHROOM_NODES_PATH": "${workspaceFolder}/tests/nodes",
                // "MESHROOM_PLUGINS_PATH": "/path/to/plugins",
                "MESHROOM_OUTPUT_QML_WARNINGS": "1",
                "MESHROOM_QML_DEBUG": "0",
                "MESHROOM_QML_DEBUG_PARAMS": "port:7789",
                "DEBUGGING": "1",
            },
            "args": [
                "/path/to/scene.mg"
            ],
            "subProcess": true,
        }
  }

@Alxiice Alxiice force-pushed the dev/add_task_thread_debugging branch from 5df3f6f to 177aca0 Compare March 10, 2026 15:32
@Alxiice Alxiice self-assigned this Mar 10, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.38%. Comparing base (9ccb5e5) to head (a39d3a1).
⚠️ Report is 33 commits behind head on develop.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3038      +/-   ##
===========================================
+ Coverage    83.05%   83.38%   +0.32%     
===========================================
  Files           72       73       +1     
  Lines         9657     9874     +217     
===========================================
+ Hits          8021     8233     +212     
- Misses        1636     1641       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Alxiice Alxiice force-pushed the dev/add_task_thread_debugging branch from 177aca0 to 95c828a Compare March 16, 2026 13:21
Co-authored-by: Fabien Castan <fabcastan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants