HaxeFoundation / HaxeFoundation/haxe
[hxcpp] stepping over shouldn't just fall through
Open
enhancement
platform-cpp
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
Consider this example code:
```haxe
class Main {
static function main() {
foo();
}
static function foo() {
var value = 1;
trace("bar");
}
}
```
Stepping over at the end of the function suddenly puts me into `EntryPoint.hx`, which can be somewhat confusing:

The behavior with all other debuggers (Eval, HL, Flash and JS) is instead:
- stepping over first gives some indication that we're about to leave the function, see #7767 for more details
- stepping over again puts you at `foo()` in `main()`, or `}` in `main()` in Eval's case
Contributor guide
Assessment
This issue has not been assessed yet.