epasveer / seer

Seer - a gui frontend to gdb
GNU General Public License v3.0
2.09k stars 66 forks source link

rr path not picked up correctly from configuration #160

Closed ilmari-lauhakangas closed 11 months ago

ilmari-lauhakangas commented 11 months ago

In configuration, RR program is correctly pointing to /usr/bin/rr, but when I try to replay a trace, it fails and says it tried to launch /usr/local/bin/rr

It seems command and arguments here should take their values from rrProgram() and rrArguments() (pulling from config I suppose): https://github.com/epasveer/seer/blob/a29b471911cbc8c7d54468e35107d81a9c502299/src/SeerGdbWidget.cpp#L3071

I am using seer 2.2 built from https://aur.archlinux.org/packages/seer-gdb

epasveer commented 11 months ago

Thanks. I'll check this weekend,

Can your try setting the path in Seer's config page, Then make sure to save the configuration.

ilmari-lauhakangas commented 11 months ago

Thanks. I'll check this weekend,

Can your try setting the path in Seer's config page, Then make sure to save the configuration.

Yes, sorry for not mentioning, but I did that and restarted.

epasveer commented 11 months ago

The mainline should have the fix if you can pull the latest from "main".

ilmari-lauhakangas commented 11 months ago

Thanks a lot, built again and it works!