Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scheduler.obj : fatal error LNK1103: 调试信息损坏;请重新编译模块 [G:\workspace\buhuanjing\isolated-vm\build\isolated_vm.vcxproj] #504

Open
insane-develop opened this issue Nov 1, 2024 · 1 comment

Comments

@insane-develop
Copy link

未做任何修改时,编译没有问题
当我在函数内添加这两句代码就会编译出错
Local global = ObjectTemplate::New(isolate);
global->Set(isolate, "test", Number::New(isolate, 99.99));
我也不知道什么原因;

auto IsolateEnvironment::NewContext() -> Local {
auto context =
Context::New(isolate, nullptr, {}, {}, &DeserializeInternalFieldsCallback);
context->AllowCodeGenerationFromStrings(false);
// TODO (but I'm not going to do it): This causes a DCHECK failure in debug builds. Tested nodejs
// v14.17.3 & v16.5.1.
// context->SetErrorMessageForCodeGenerationFromStrings(StringTable::Get().codeGenerationError);
return context;
}

@laverdet
Copy link
Owner

laverdet commented Nov 1, 2024

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants