#13710: Debugger's ListView has problems with recursive functions
-------------------------------------+----------------------------
Reporter: KapiX | Owner: anevilyak
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications/Debugger | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-------------------------------------+----------------------------
Comment (by KapiX):
No, the code in question is not related to tab view at all, actually.
Anyway, I've tried it, and removing `->View()` from line 3465 and adding
`-g` to `GPP_OPT` allowed me to reproduce this. What I'm seeing:
{{{
...
YabInterface::RemoveView(BView*) + 0x1c
YabInterface::RemoveView(BView*) + 0x93
...
}}}
When you click on 0x93 first it goes to `if(child = myView->childAt(0))`.
OK, fine. 0x1c - code doesn't change, the same line. 0x93 again -
`RemoveSelf(t);` huh?
If I click on 0x1c first, then it behaves correctly (0x93 takes me to
`RemoveSelf(t);`).
--
Ticket URL: <https://dev.haiku-os.org/ticket/13710#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.