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

OcDebugLogLib missing in Xcode #2466

Open
TS200010 opened this issue Dec 30, 2024 · 3 comments
Open

OcDebugLogLib missing in Xcode #2466

TS200010 opened this issue Dec 30, 2024 · 3 comments

Comments

@TS200010
Copy link

I know this sounds like support but I am not sure it is a forum question. If it is I will be happy to redirect my query.

In attempting to debug an issue I am having with OpenCore, I downloaded the OpenCorePkg repo and launched the Xcode project contained therein. Having found where the problem seems to reside (rebooting inside DebugPrintHexDump), I need to inspect its code which resides in OcDebugLogLib which is showing red in Xcode. I have searched extensively and the dotH header file I can find but not the dotC. Not sure where to look next. Should it have been included in the repo?

@mikebeaton
Copy link
Contributor

mikebeaton commented Dec 31, 2024

The Xcode project is considerably out of date. Up-to-date command line build instructions are included in Configuration.pdf (§3.3) and you can also locally run the CI build scripts build_duet.tool and build_oc.tool, although these build absolutely everything (i.e. more than you need to rebuild each time, when developing).

@TS200010
Copy link
Author

TS200010 commented Jan 2, 2025

Ah... however, I am not actually trying to build anything (yet!). I am trying to debug my system not booting. In InternalGetBooterFromBlessedSystemFilePath there is a call to DebugPrintHexDump. My boot is crashing inside there so I was trying to find that code to see if inspecting it might offer a hint as to what is happening.

@mikebeaton
Copy link
Contributor

Visual Studio Code works well for navigating the project. Other IDEs are available - YMMV. :-)

image

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

No branches or pull requests

2 participants