Byte code
Hi,
I build the bytecode in the _DEBUG mode, it can load but it can not run properly in Release mode, is it?
Just make sure its not a bug. :)
Cheers
In theory, there shouldn't be a problem building the bytecode with an application using Debug mode and then running it with an Release mode. In practice however it may not work.
Regardsless, I'd like to take a look at the problem, if you can share a bit more info on it. It may or may not be a bug.
Regardsless, I'd like to take a look at the problem, if you can share a bit more info on it. It may or may not be a bug.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
What we did is to register some script functions, global variables and classes.
We execute script code directly without get function id and set arguements.
We build and save it in _DEBUG mode with script engine. we load it in the release mode, but it crash the program, the whole application exit without any error report.
We try to build and save the same script code in Release mode, it works properly.
Is this help?
Cheers
We execute script code directly without get function id and set arguements.
We build and save it in _DEBUG mode with script engine. we load it in the release mode, but it crash the program, the whole application exit without any error report.
We try to build and save the same script code in Release mode, it works properly.
Is this help?
Cheers
Quote: Original post by WitchLord
In theory, there shouldn't be a problem building the bytecode with an application using Debug mode and then running it with an Release mode. In practice however it may not work.
Regardsless, I'd like to take a look at the problem, if you can share a bit more info on it. It may or may not be a bug.
I can't think of anything that would cause this, but I'll do some investigation and see what I can find.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I've made some tests and the byte code that is saved in debug mode and release mode is exactly the same (except for some unitialized memory that isn't used anyway).
The only reason that I can think of that would crash for you is if you have a different engine configuration in the two modes. Are you perhaps registering any functions for debugging purposes? Or are functions being registered in a different order?
If you are absolutely certain that there are no differences in the engine configuration perhaps you could send me an example that reproduces the problem? It could be some specific situation that I couldn't find.
The only reason that I can think of that would crash for you is if you have a different engine configuration in the two modes. Are you perhaps registering any functions for debugging purposes? Or are functions being registered in a different order?
If you are absolutely certain that there are no differences in the engine configuration perhaps you could send me an example that reproduces the problem? It could be some specific situation that I couldn't find.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
Thanks, I will check the registration sequence and configuration.
Let you know later.
Let you know later.
Quote: Original post by WitchLord
I've made some tests and the byte code that is saved in debug mode and release mode is exactly the same (except for some unitialized memory that isn't used anyway).
The only reason that I can think of that would crash for you is if you have a different engine configuration in the two modes. Are you perhaps registering any functions for debugging purposes? Or are functions being registered in a different order?
If you are absolutely certain that there are no differences in the engine configuration perhaps you could send me an example that reproduces the problem? It could be some specific situation that I couldn't find.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement