pkulchenko / MobDebug

Remote debugger for Lua.
Other
889 stars 192 forks source link

Step in doesn't work for functions in files not opened in ZeroBrane Studio #62

Closed kkolyan closed 3 years ago

kkolyan commented 3 years ago

Hi! I'm developing a game on custom engine that run scripts with embedded LuaJIT 2.0.5.

Not too long started to debug scripts with mobdebug and ZBS. For some reason "Step into" feature sometimes doesn't work (it just steps on the next line instead of stepping into a function). But sometimes it works fine. What are the limitations for "Step into"?

pkulchenko commented 3 years ago

@kkolyan, you'll need to provide more details about the context when stepping into doesn't work, but I suspect it may be related to the function being defined in a separate file. See this FAQ answer for additional details and feel free to re-open if it doesn't cover your case.

kkolyan commented 3 years ago

Thanks for an answer. Yes, I didn't think about such limitation.