Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F12 stop application #59

Open
ncannasse opened this issue Sep 6, 2019 · 1 comment
Open

F12 stop application #59

ncannasse opened this issue Sep 6, 2019 · 1 comment

Comments

@ncannasse
Copy link
Member

When launching Heaps app through HashLink Debugger (vscode), for some unknown reason F12 will close the window. This happens with both HLSDL and HLDX, and does not reproduces when launching directly from HL.

@ncannasse
Copy link
Member Author

Reproduces with:

class Main {
	static function main() {
		sdl.Sdl.init();
		var win = new sdl.Window("test",800,600);
		while( sdl.Sdl.processEvents(function(e) return true) ) {
		}
	}
}

According to commandline debugger, F12 triggers a breakpoint in a separate thread. I have fixed this in commandline debugger but VSCode is still stopping, maybe because of the empty stack for this thread, will investigate this another time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant