Opened 11 months ago
Last modified 11 months ago
#18762 new bug
debugger does not show execution line in source view
Reported by: | realtaraharris | Owned by: | anevilyak |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Debugger | Version: | R1/beta4 |
Keywords: | gdwarf | Cc: | davidkaroly |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Since upgrading to gcc 13.2.0 (from whatever version ships with R1/beta4 by default), Haiku's debugger never shows the normal greenish-blue execution line in the source view. I am able to get my source listing in the source view, the threads view is populated and functioning as expected, and everything in the variables view is where it should be.
I'm compiling with my code with the -g
option, and I've also tried various combinations of -gdwarf-4
, -gdwarf-3
, -gdrawf-2
, -gstrict-dwarf
, etc., all to no avail.
output of uname -a
:
Haiku shredder 1 hrev57499 Jan 6 2024 07:02:54 x86_64 x86_64 Haiku
Change History (4)
comment:1 by , 11 months ago
Cc: | added |
---|
comment:2 by , 11 months ago
Milestone: | Unscheduled → R1/beta5 |
---|
comment:3 by , 11 months ago
comment:4 by , 11 months ago
Milestone: | R1/beta5 → Unscheduled |
---|
I'm not sure if we ever supported that option.
I tried to replicate this issue with a smaller test program, but that ended up working!
So I went back into my larger project that caused me to file this issue, and I started trying to isolate the problem a bit further. It turns out the thing I was building was setting
-ffile-prefix-map=${CMAKE_CURRENT_SOURCE_DIR}
. Removing this bit from my own cmake config got the debugger working as expected.