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
[Bug]: can't build electron with debugging page guide #41674
Comments
can anybody help me? |
Breakpoint Debugging Write the following file to electron/.git/info/exclude/debug.gn import("//electron/build/args/testing.gn") Then execute: $ gn gen out/Debug --args="import("//electron/.git/info/exclude/debug.gn") $GN_EXTRA_ARGS" Now you can use LLDB for breakpoint debugging. |
is_debug flag will cause errors, |
Thanks for reaching out! Because we treat our issues list as the team's backlog, we close issues that are questions since they don't represent a task needing to be completed. This forum is for raising bugs or requesting new features, and for most questions about Electron there are a lot of more appropriate community options. There are helpful people in this Discord or the subreddit that should be willing to point you in the right direction. |
extension_action_api.cc add function ExtensionFunction::ResponseAction return RespondNow(WithArguments("")); |
Preflight Checklist
Electron Version
Electron v31.0.0-nightly.20240315
What operating system are you using?
Windows
Operating System Version
windows 11
What arch are you using?
x64
Last Known Working Electron version
no
Expected Behavior
https://www.electronjs.org/docs/latest/development/debugging
fllowing this guide can build correctly
Actual Behavior
link electron.exe error
ninja: Entering directory `out\Debug'
[1/2] LINK electron.exe electron.exe.pdb
FAILED: electron.exe electron.exe.pdb
....\third_party\llvm-build\Release+Asserts\bin\lld-link.exe "/OUT:./electron.exe" /nologo -libpath:....\third_party\llvm-build\Release+Asserts\lib\clang\19\lib\windows "-libpath:C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\ATLMFC\lib\x64" "-libpath:C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\lib\x64" "-libpath:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "-libpath:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\ucrt\x64" "-libpath:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\um\x64" /MACHINE:X64 "/PDB:./electron.exe.pdb" "@./electron.exe.rsp"
lld-link: error: undefined symbol: protected: virtual class ExtensionFunction::ResponseAction __cdecl extensions::ExtensionActionOpenPopupFunction::RunExtensionAction(void)
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: