uanble to debug chromium code in Xcode for ios module

248 views
Skip to first unread message

P Tripathi

unread,
Aug 26, 2024, 3:31:40 PMAug 26
to Chromium-dev

Hi,

I'm trying to add a breakpoint in AppDelegate to see the code flow, but it's not working in Xcode. I'm getting the following error:

"Xcode won't pause at this breakpoint because it has not been resolved. Resolving it requires that:

  • The line at the breakpoint is compiled.
  • The compiler generates debug information that is not stripped out (check the Build Settings).
  • The library containing the code for the breakpoint is loaded."

shared image.png

Mike Dougherty

unread,
Aug 26, 2024, 3:41:28 PMAug 26
to ptripa...@gmail.com, Chromium-dev
I believe the problem is that is not the correct app delegate for the chrome target.

Instead, try to add a breakpoint instead in MainApplicationDelegate at //ios/chrome/app/main_application_delegate.mm

- Mike

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/87b28a04-7c78-45f2-95df-77dbb854c13en%40chromium.org.
Reply all
Reply to author
Forward
0 new messages