Opened 16 hours ago
#19412 new bug
Debugger: Wrong source file
Reported by: | nephele | Owned by: | anevilyak |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Debugger | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Trying to debug pref/Appearence
My UserBuildConfig has:
SetConfigVar DEBUG : HAIKU_TOP src kits tracker : 1 : global ; SetConfigVar DEBUG : HAIKU_TOP src kits interface : 1 : global ; SetConfigVar DEBUG : HAIKU_TOP src apps : 1 : global ; SetConfigVar DEBUG : HAIKU_TOP src preferences : 1 : global ;
I was trying to Debug a draw method, so currently I am hovering on BView::_Draw.
For some reason the path Debugger wants to check is completely mangled. It should be:
$HOME/proj/haiku/src/kits/interface/View.cpp
Instead it is looking for:
$HOME/proj/haiku/src/preferences/appearence/View.cpp
I'm not sure how this happens... I'm using a compiled debug build of Appearence, and have the libbe i build preloaded
LD_PRELOAD=../../../generated/objects/haiku/x86_64/release/kits/libbe.so ../../../generated/objects/haiku/x86_64/debug_1/preferences/appearance/Appearance
This is when beeing in src/preferences/appearence. The debugger is called through a debugger() statement in the code of interface kit.