Luau breakpoint support
Luau apparently supports breakpoints using lua_breakpoint API. Can support for this be added?
Can support for this be added?
I'm sure it can. Do you have any ideas how it should look like? It requires a line number which (sometimes) can be tricky to obtain. I suppose this feature should be useful mostly for interactive debuggers / IDEs, and normal runtimes can benefit from hooks. Do you have any specific use-case for this feature?
Can support for this be added?
I'm sure it can. Do you have any ideas how it should look like? It requires a line number which (sometimes) can be tricky to obtain. I suppose this feature should be useful mostly for interactive debuggers / IDEs, and normal runtimes can benefit from hooks. Do you have any specific use-case for this feature?
Implementing a basic debugger in my runtime is the specific use case from the feature. I unfortunately don't have a full picture of what it should look like besides setting breakpoints at a given line number and breaking there (and calling a callback)