All Projects → edolphin-ydf → gopherlua-debugger

edolphin-ydf / gopherlua-debugger

Licence: MIT license
a gopherlua debugger based on emmylua and gopher-lua

Programming Languages

go
31211 projects - #10 most used programming language
lua
6591 projects

Projects that are alternatives of or similar to gopherlua-debugger

TrackJS-Node
TrackJS Error Monitoring agent for NodeJS
Stars: ✭ 26 (+73.33%)
Mutual labels:  debugger
cc-tool
Mirror of cc-tool from SourceForge
Stars: ✭ 144 (+860%)
Mutual labels:  debugger
ps2rd
Collection of tools to remotely debug PS2 games
Stars: ✭ 55 (+266.67%)
Mutual labels:  debugger
nadbg
👀Dynamic memory watcher/tracer/analyzer for CTF pwn
Stars: ✭ 51 (+240%)
Mutual labels:  debugger
console
a debugger for async rust!
Stars: ✭ 2,101 (+13906.67%)
Mutual labels:  debugger
vscode-android-webview-debug
Debug your JavaScript code running in WebViews on any Android device from VS Code.
Stars: ✭ 18 (+20%)
Mutual labels:  debugger
Vytal
Browser extension to spoof timezone, geolocation, locale and user agent.
Stars: ✭ 1,449 (+9560%)
Mutual labels:  debugger
talvos
Talvos is a dynamic-analysis framework and debugger for Vulkan/SPIR-V programs.
Stars: ✭ 67 (+346.67%)
Mutual labels:  debugger
stylish-log
🎉 Stylish-log "A beautiful way to see your web console logs"
Stars: ✭ 12 (-20%)
Mutual labels:  debugger
react-native-debug-console
A network and console debug component and modal for react native purely in JavaScript
Stars: ✭ 17 (+13.33%)
Mutual labels:  debugger
vil
Vulkan Layer for Live Introspection & Debugging. Allows to view all vulkan state live inside your application.
Stars: ✭ 39 (+160%)
Mutual labels:  debugger
app
Buggregator is a beautiful, lightweight debug server build on Laravel that helps you catch your smpt, sentry, var-dump, monolog, ray outputs. It runs without installation on multiple platforms.
Stars: ✭ 259 (+1626.67%)
Mutual labels:  debugger
gdb
Go GDB/MI interface
Stars: ✭ 70 (+366.67%)
Mutual labels:  debugger
vim-easydebugger
A VIM multi-language debugger plugin
Stars: ✭ 47 (+213.33%)
Mutual labels:  debugger
Love-Debug-Graph
An fps/memory/misc graph utillity for Löve2D
Stars: ✭ 29 (+93.33%)
Mutual labels:  debugger
python3-trepan
A gdb-like Python3 Debugger in the Trepan family
Stars: ✭ 125 (+733.33%)
Mutual labels:  debugger
vscDebugger
(Partial) Implementation of the Debug Adapter Protocol for R
Stars: ✭ 58 (+286.67%)
Mutual labels:  debugger
jsrdbg
JavaScript Remote Debugger for SpiderMonkey.
Stars: ✭ 23 (+53.33%)
Mutual labels:  debugger
kodi.web-pdb
Web-based remote Python debugger for Kodi addons
Stars: ✭ 73 (+386.67%)
Mutual labels:  debugger
Devel-Camelcadedb
Perl module for debugging with Perl5 plugin for IntelliJ
Stars: ✭ 23 (+53.33%)
Mutual labels:  debugger

what is this?

this is the client side for EmmyLua and supported to debug the gopher-lua's lua code

how to use

  1. install EmmyLua for goland/idea/... and learn how to debug lua with this plugin
  2. go get github.com/edolphin-ydf/gopherlua-debugger
  3. edit your go.mod, add this line replace github.com/yuin/gopher-lua => github.com/edolphin-ydf/gopher-lua v0.0.0-20191105142246-92ca436742b9
  4. in your go code, after L := lua.NewState() add a new line lua_debugger.Preload(L), of course, you should import gopher-lua-debugger
  5. in your lua code, anywhere you want to start debug/break, add the following line
local dbg = require('emmy_core')
dbg.tcpConnect('localhost', 9966)

why need replace gopher-lua?

the original gopher-lua doesn't implement the debug.hook() func. the replacement implement it and fix a bug for debug.getlocal(). if the author accepted my patch, the replacement won't need anymore. But you need the replace now!!

what is lua_debugger.Preload(L) do?

this will preload the emmy_core module which support the tcpConnect, then you can connect to the EmmyLua server to start debug

limitation

the EmmyLua provide two ways to start a debug, the ide as a server and the ide as a client. but the gopherlua-debugger only support ide as server, lua instance as client.

contribution

issue and pr are welcome

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].