Limit stack walk distance a bit.

It was spending 0.5s in debug scanning all of memory for an entry (due to
some fp/sp tricks that aren't well detected yet.)  Let's just assume a 1MB
func doesn't need to be walked properly.
Merge pull request #6598 from unknownbrackets/debugger

Limit stack walk distance a bit