Comments (7)
但是有一个小问题,在VSCode进入调试后(且运行时),会总是自动进行一次Break。
Break的位置是我未添加过断点的位置(应该是代码当前执行到的行)。
这个是正常的,可以设置 launch.json 中的 stopOnEntry
来修改。 stopOnEntry的作用是 设置是否在调试器启动后立刻停止。
from luapanda.
检查了一下,该so文件在该目录是存在的,加载Succeed,但是提示lua文件找不到
from luapanda.
已经解决了,需要手动引入libpdebug到项目中才可以,新手流程上建议追加这一步~
[DllImport("libpdebug", CallingConvention = CallingConvention.Cdecl)]
public static extern int luaopen_libpdebug(System.IntPtr L);
[MonoPInvokeCallback(typeof(lua_CSFunction))]
public static int LoadLuaPanda(System.IntPtr L)
{
return luaopen_libpdebug(L);
}
from luapanda.
非常感谢~
我们在尝试复现这个问题。想了解一下,Unity 和 VSCode 是运行在同一台机器上么,是Win还是Mac呢?
from luapanda.
你好:
Unity和VSCode是运行在同一台机器上,Win。
这个问题在手动引入dll后解决了,目前已经不报错了。
但是有一个小问题,在VSCode进入调试后(且运行时),会总是自动进行一次Break。
Break的位置是我未添加过断点的位置(应该是代码当前执行到的行)。
非常感谢~
我们在尝试复现这个问题。想了解一下,Unity 和 VSCode 是运行在同一台机器上么,是Win还是Mac呢?
from luapanda.
但是有一个小问题,在VSCode进入调试后(且运行时),会总是自动进行一次Break。
Break的位置是我未添加过断点的位置(应该是代码当前执行到的行)。这个是正常的,可以设置 launch.json 中的
stopOnEntry
来修改。 stopOnEntry的作用是 设置是否在调试器启动后立刻停止。
感谢。目前没有其他问题了:)
from luapanda.
感谢。目前没有其他问题了:)
也非常感谢提出问题。关于引用的问题我们会关注并尝试做一下异常处理~
from luapanda.
Related Issues (20)
- libpdebug.lua找不到是什么原因 HOT 1
- UE5蓝图使用Luajit,在Load的时候会直接崩溃,你们有碰到类似的问题吗? HOT 1
- 关于 lua 5.3/5.4 无法建立连接的问题 HOT 1
- 打开包含大量文件的目录,插件会coredump HOT 3
- 关于Arm架构 lipDebug支持的问题 HOT 1
- 关于在5.4下使用luapanda
- 反转C-S后,内网环境下,远程调试连接不上 HOT 1
- Lua Debug 插件和 LuaPanda 插件 attach 模式会互相冲突,导致无法断点,或者断点失效问题 HOT 1
- 更新到vscode 1.82后,插件报错无法运行 HOT 5
- 使用了distinguishSameNameFile=true,truncatedOPath过滤公共串后,同名文件正则识别错误(没有处理"["、"]") HOT 2
- 没有 用于IntlliSense的cpp 菜单 HOT 2
- 希望在独立脚本执行的lanuch配置中,可以使用args的参数 HOT 3
- 打开LuaPanda会出现这个问题 Connection to server got closed. Server will not be restarted. HOT 1
- F12 not work HOT 1
- 调试递归调用时,局部变量获取错误 HOT 5
- 请问是否支持从.c文件中调试或打印相关栈内容呢 HOT 1
- 随手写点,关于调试器的框架
- sol2 兼容BUG HOT 2
- 接入luapanda后,在unity编辑器中启动游戏会导致编辑器闪退 HOT 2
- ![image](https://github.com/Tencent/LuaPanda/assets/16960038/542e775c-5686-4bb2-a702-25629b0229af) HOT 2
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 luapanda.