KDAB / hotspot

The Linux perf GUI for performance analysis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After opening, cargo command cannot run until path changes

qarmin opened this issue · comments

Describe the bug
When debugging cargo, after next run I cannot run cargo, until I change path and revert it back.

simplescreenrecorder-2024-03-11_21.12.23.mp4

Start Recording at start is disabled, but should be enabled

Version Info (please complete the following information):

  • hotspot version (appimage? selfcompiled?): 271a781
  • if self-compiled hotspot, what version of elfutils: appimage

I don't see it in the video, can you make it more obvious? does it only happen with cargo or with all applications?

Look at "Start Recording" button - is not enabled, but should be.

The problem only happens with cargo, nemo etc. commands, but not with with full paths like /home/user/.cargo/cargo or /usr/bin/nemo

Steps to reproduce:

  • Open hotspot
  • in Application use "nemo"
  • in Working Directory use "/home/user"
  • run profiling
  • close app
  • open again hotspot
  • "Start Recording" button is disabed (here is bug - this should be enabled)
  • add space after "nemo" and remove it
  • "Start Recording" button is enabled

The same but with full path

  • Open hotspot
  • in Application use "/usr/bin/nemo"
  • in Working Directory use "/home/user"
  • run profiling
  • close app
  • open again hotspot
  • "Start Recording" button is enabled (proper behavior)

Screenshot from 2024-03-12 15-48-18
Screenshot from 2024-03-12 15-48-23

thanks, now I see it and can reproduce it. will fix