Debugger: Fix #13710.hrev51423
commitcdf821eb2abbb70b0eba3833e3f0cf128a04e97d
authorRene Gollent <rene@gollent.com>
Thu, 14 Sep 2017 01:16:24 +0000 (13 21:16 -0400)
committerRene Gollent <rene@gollent.com>
Thu, 14 Sep 2017 01:20:18 +0000 (13 21:20 -0400)
tree988eaf8fa35aa927e642ad4dc589efad0c8bdcff
parent032a3f45f76d811cb25e76a96a2c817ce3840b99
Debugger: Fix #13710.

TeamWindow:
- When changing the active function, we would also attempt to select a stack
  frame matching that function. However, in the case where the active function
  was set via changing stack frames, this logic would break if the function was
  recursive, and would cause the topmost frame to be selected instead of one at
  the desired recursion depth.
src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp