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.

hrev58622

Attachments (1)

screenshot6.png (217.7 KB ) - added by nephele 16 hours ago.

Download all attachments as: .zip

Change History (1)

by nephele, 16 hours ago

Attachment: screenshot6.png added
Note: See TracTickets for help on using tickets.