Skip to content

Gprof and Gcov profilers don't work for cmake4eclipse-driven projects #206

@akamensh

Description

@akamensh

Describe the bug
Gprof and Gcov profilers don't work for cmake4eclipse-driven projects - see the attached screenshots.

To Reproduce
Steps to reproduce the behaviour:

  1. Open a cmake4eclipse-driven project or create any simple one.
  2. Set any working "Launch Configuration"; when editing the configuration, choose Gprof or Gcov on the "Profiler" tab.
  3. Set a "Launch Mode" to "Profile" and launch.
  4. See error.

Expected behaviour
Gprof and Gcov profilers should be launching when requested by user, on "Launch in 'Profile' mode" control in Eclipse"

Screenshots
These are for the case of Gcov - they are almost the same for a case of Gprof:
Screenshot from 2024-09-26 23-24-10
Screenshot from 2024-09-26 23-24-27
Screenshot from 2024-09-26 23-24-47

Useful Information

  • cmake4eclipse version: 5.0.0
  • CDT version: 2024-09 (4.33.0)
  • Which OS do you use: Linux (Debian 12)
  • CMake version: 3.25.1

What is in Eclipse's Error Log?
See the errors in the attached screenshots.

Additional context
Setting the compiler/linker flags for gprof/gcov in CMakeLists.txt or in "Cmake4eclipse Build"/"CMake Options" window of the Project's Properties doesn't solve the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions