Comments (2)
请仔细阅读 加载 lua 脚本。
使用 lua.LdoString() 可以轻松执行一段 Lua 代码。通过其返回值可以判断执行是否成功。0 表示成功否则表示不成功。若不成功则错误信息会直接入栈,我们可以通过 lua.toString(-1) 获取到。
没有断点调试。
from android-lua.
谢谢回答,已经解决了,使用MobDebug进行断点调试就OK了
from android-lua.
Related Issues (20)
- 怎么编译成So库呢 HOT 1
- 当lua代码出现死循环我该怎么停止运行这个时候button没有反应 HOT 1
- 当lua代码出现死循环 我该怎么停止运行 这个时候button没有反应 HOT 1
- package.path在android中默认的路径是哪? HOT 2
- 在执行lua代码的时候想要中途退出但不关闭app可以怎么做 HOT 2
- JavaFunction lua那边怎么传List和Map到Java呢? HOT 1
- pairs 在 lua文件里没办法使用 HOT 2
- 多次注入不同的java对象,setGlobal 使用同一个变量名,能覆盖之前的对象吗? HOT 1
- 请问怎么在lua程序里setmetatable? HOT 1
- 调用lua标准库的函数print(),在lua中应该怎么获取到print函数输出的值? HOT 1
- 我想debugger,能不能实现在安卓上调试lua代码,因为我见过别人可以在任意行进行下断跟踪的 HOT 2
- lua 脚本里可以直接调用 java 函数吗 HOT 2
- 请问应该怎么使用多线程呢? HOT 6
- 無法在Java 物件函數使用自己傳回的數值,會exception
- 如何访问java类的属性呢? HOT 1
- 请问如何正确实现sleep延时效果 HOT 2
- java调lua函数,怎么传map进去呢 HOT 4
- 请问如何调用luac编译过的lua文件呢? HOT 2
- Nokia C20 Plus load lua fail HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-lua.