HaxeFoundation / HaxeFoundation/haxe

Cpp target "exits" randomly, but in a predictable way.

Open
#9,753 23 comments 0 reactions 0 assignees View on GitHub
bug platform-cpp waiting-for-feedback
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

Using haxe 4.1.3 and hxcpp 4.1.15

I'm working on a project that during runtime will just exit at a specific line of code consistently, but when trying to isolate the problem it runs fine. I've tried surrounding with a try.. catch block and the application still just exits. No error message, just exit code 127, which is a little strange. I've isolated the generated code to:
```
HXLINE(1051) ::hscript::Expr expr = this->parseExpr();
```
The `parseExpr` function is never called and it just exists. I've done all kinds of tracing and I can get the line before this line to trace but NOT the first line of `parseExpr` if I add tracing there. I'd be happy to provide any other useful debugging information, but at this time I'm currently blocked on this since my application can't continue passed this line of code.

Running windows 10 version 2004

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.