pkulchenko / MobDebug

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

Error: loop or previous error loading module #81

Closed ofirmc closed 1 year ago

ofirmc commented 2 years ago

I'm trying to remote debug a server that has an open port: 3254. On that server I use listen() like this: require("mobdebug").listen("", 3254) Port 3254 also receives https request e.g. in the browser we use https://:3254 to browse to the web site. When browsing to a page that eventually runs a LUA code that has require("mobdebug").listen("", 3254), I get the following error: "loop or previous error loading module..." Do you know what could cause the error?

pkulchenko commented 1 year ago

Do you by any chance have "mobdebug.lua" file in one of the project folders (or maybe socket.lua)? Is there a detailed stack trace that would point to line numbers where the error may be happening?

pkulchenko commented 1 year ago

Closing, as I can't reproduce it and it doesn't seem to be an issue with the library.