https://bugs.kde.org/show_bug.cgi?id=451562

            Bug ID: 451562
           Summary: Docker Debugging KDevelop
           Product: kdevelop
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: All build tools
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: martin.marmso...@gmail.com
  Target Milestone: ---

Hello,
I'm trying to debug KiCad https://gitlab.com/kicad/code/kicad on Windows.
Instead of using MSYS2 which made problems for me I try to go the way debugging
with a docker file.

Kicad provides officially a docker file for it:
https://gitlab.com/kicad/kicad-ci/source_containers.git

I have seen a post that KDevelop supports docker integration:
https://www.proli.net/2017/05/23/kdevelop-runtimes-docker-and-flatpak-integration/
But I did not find out how to use it.

In QtCreator they used a workaround:
https://www.qt.io/blog/docker-builds-from-qtcreator
They created a script which is passed as cmake executable to QtCreator which
internally runs the cmake command in the docker container.

```
HOST_WORK_PATH=<Path to Kicad Repository>/kicad
CONTAINER_WORK_PATH=/kicad
docker run --rm -v $HOST_WORK_PATH:$CONTAINER_WORK_PATH -w
/$CONTAINER_WORK_PATH/build -v/tmp:/tmp kicad_ubuntu:20.04 cmake $@
```

This works fine when I execute it in a command line. But I would like to use
somehow an IDE to be able to debug.

Can you give me a hint, how to combine the information to be able to use
KDevelop to debug the software?

SOFTWARE/OS VERSIONS
Windows: 10

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to