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

Debugger: If an instance bound is set to NaN when hitting a breakpoint this crashes the game before that break happens #6818

Closed
gm-bug-reporter bot opened this issue Jul 21, 2024 · 1 comment
Assignees
Labels
ide-bug Bugs with the GameMaker IDE project This issue has a sample project attached
Milestone

Comments

@gm-bug-reporter
Copy link

Description

Context: setting the bound of an instance to NaN eventually results in an error when collision logic is run.

Setting y = NaN on an instance doesn't directly cause a crash. However attempting to break in the debugger after y = NaN will cause the runner to crash and the runner to crash and the debugger to exit without breaking in the problem code.

Steps To Reproduce

  1. Open attached project
  2. Make sure there is a breakpoint set on line 6 of Object1 step event (this will be the var f = y line)
  3. Run via the debugger
  4. Observe that the game will freeze for a bit, then the runner will exit and the debugger will disconnect without ever breaking into the code
  5. Clear the breakpoint and run again
  6. Observe that without a breakpoint the game runs fine (there will be a black screen but the Debugger graph shows that the game is processing frames)

Which version of GameMaker are you reporting this issue for?

IDE v2024.600.0.579 Runtime v2024.600.0.605

Which operating system(s) are you seeing the problem on?

Windows 10.0.19045.0

536a69a5-152c-45a6-9bc5-3a51bd1db96d

@gm-bug-reporter gm-bug-reporter bot added ide-bug Bugs with the GameMaker IDE project This issue has a sample project attached labels Jul 21, 2024
@stuckie stuckie added this to the 2024.8 milestone Jul 22, 2024
@mgeddesGM
Copy link

verified as of IDE v2024.800.0.599 Runtime v2024.800.0.622

@YYDan YYDan changed the title Debugger disconnects when breaking in the IDE after an instance bound is set to NaN Debugger: If an instance bound is set to NaN when hitting a breakpoint this crashes the game before that break happens Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide-bug Bugs with the GameMaker IDE project This issue has a sample project attached
Projects
Status: Verified
Development

No branches or pull requests

3 participants