When stopped in a hidden frame (either because we selected the hidden frame or hit a breakpoint inside it), a user most likely is intersted in exploring the immediate frames around it. But currently issuing `up`/`down` commands will unconditionally skip over all hidden frames. This patch makes it so `up`/`down` commands don't skip hidden frames if the frame we started it was a hidden frame.
14 lines
341 B
C++
14 lines
341 B
C++
namespace std {
|
|
namespace __1 {
|
|
static const char *__impl2() { return "Break here"; }
|
|
static const char *__impl1() { return __impl2(); }
|
|
static const char *__impl() { return __impl1(); }
|
|
static const char *non_impl() { return __impl(); }
|
|
} // namespace __1
|
|
} // namespace std
|
|
|
|
int main() {
|
|
std::__1::non_impl();
|
|
__builtin_debugtrap();
|
|
}
|