blitz-foundation / monkey2

zlib License
3 stars 0 forks source link

Stepping forward in the debugger doesn't step into loops. #31

Closed Pharmhaus-2 closed 5 years ago

Pharmhaus-2 commented 5 years ago

Original Author: ImmutableOctet

As the title suggests, when the 'step forward' button is pressed, and a loop is present, the loop will not be stepped into, but instead, stepped over.

I don't know of any debugger that works like this, and I'm wondering if this was an intentional decision. Even Monkey 1 would step into a loop if its conditions are met. Likewise, Visual Studio and co. do the same thing; step into the loop if it executes.

In other words, most debuggers define the concept of 'step over' as "Step over a function call, and any work performed to process the arguments", whereas Monkey 2 just steps over any scope, period.

Thoughts?

Pharmhaus-2 commented 5 years ago

Seems to be fixed in develop.