#8135: Support debug info in separate file -------------------------------------+---------------------------- Reporter: bonefish | Owner: anevilyak Type: enhancement | Status: in-progress Priority: low | Milestone: R1 Component: Applications/Debugger | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 1 | Platform: All -------------------------------------+---------------------------- Comment (by anevilyak): Updated patch attached. Seems to work as best I can tell, with a caveat: if the original executable is a release executable and simply paired with/linked to the debug info file copied out of its debug equivalent, things don't appear to entirely work as planned ; some symbols aren't resolvable as source references (for instance, in my tests with Deskbar, main() and a few other random symbols off BarApp and other classes aren't resolved and simply show disassembly instead). Furthermore, breakpoints don't seem to work as intended in the above scenario either, they claim to be set correctly but wind up never being hit. None of these problems show up if the primary executable was originally built with debug and then stripped of its debug information afterwards. Also note, another testing caveat - objcopy --add-gnu-debuglink destroys Haiku resources while adding its section to the file so those need to be re-added via xres after adding the link. -- Ticket URL: <http://dev.haiku-os.org/ticket/8135#comment:16> Haiku <http://dev.haiku-os.org> Haiku - the operating system.