neosphere icon indicating copy to clipboard operation
neosphere copied to clipboard

Enable automatically stepping over “system calls” while debugging

Open fatcerberus opened this issue 4 years ago • 1 comments

Pressing F12 while debugging a game that makes heavy use of the Thread class will typically just drop you into thread.js, which tends not to be very useful. Similarly, stepin entering Sphere Runtime code, such as Query methods, is more annoying than helpful. See if there’s a way runtime modules can be marked so that the debugger skips over them by default.

fatcerberus avatar Dec 06 '21 09:12 fatcerberus

A preliminary implementation is in https://github.com/spheredev/neosphere/commit/febb95b0cf5de8fbbb7a60c14945b2a6e66c8ac8. This is a naive implementation which is likely incorrect, so will need further testing.

fatcerberus avatar Dec 06 '21 18:12 fatcerberus

No major issues have shown up in testing, so I’m going to call this finished. If anything weird turns up it can be considered a bug and get a new issue.

fatcerberus avatar Jan 29 '23 01:01 fatcerberus