Comments (3)
Can you provide me with a stack trace of the VM? I just added an API on main for printing it: pxVmPrintStackTrace
? Please print it before popping anything off the stack.
from phoenix-shared-interface.
I found the issue. I forgot to call pxVmSetGlobalSelf()
before the actual VM call.
Nevertheless the Stack printing feature will not work as it prints to std::cerr which won't be shared with the managed C# side. I think we would need to return a heap allocated string. But question is if it's worth the effort, as the system was right:
npcInstance == 0x0 if self() wasn't set. ;-)
from phoenix-shared-interface.
That issue was fixed upstream in d6566d5.
from phoenix-shared-interface.
Related Issues (9)
- Win64 dll compilation won't work on fresh installation of Windows 11
- .dylib for MacOS seems to have a deprecated build target HOT 1
- clang-lint for PRs isn't checking header files
- Model for object element not loadable (mesh is empty) HOT 6
- Export function to get uncompressed Textures. HOT 2
- Tests are failing HOT 1
- gitflow - built Win64.DLL can't be loaded HOT 5
- VM: Resetting pxVmSetGlobalSelf() after a pxVmCallFunction() call throws memory exceptin HOT 3
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 phoenix-shared-interface.