Page 1 of 1

Debugging cefclient app in mac os x 10.7

PostPosted: Sat Nov 12, 2011 3:41 pm
by dhiren
Hi

I downloaded cef_binary_r365_macosx.zip today.
I have built the cefclient app successully on my Mac os x lion and i can run the app.
But i wanted to debug it, i have given a breakpoint in the main function in cefclient_mac.mm, but its not hitting the breakpoint. The application just starts running.
Is there any project setting i have to change for debugging. I am using xCode 4.1.

Thanks,
Dhiren

Re: Debugging cefclient app in mac os x 10.7

PostPosted: Sat Nov 12, 2011 8:02 pm
by magreenblatt
Are you sure you're running in debug mode? If you're unfamiliar with the Xcode 4 debugger you can find more information here: http://developer.apple.com/library/mac/ ... gging.html

Re: Debugging cefclient app in mac os x 10.7

PostPosted: Sun Nov 13, 2011 1:53 am
by dhiren
Yes i am running in debug mode, otherwise the application would have been created in a Release folder inside xcodebuild folder, but it was created in Debug folder.
I have checked the run settings in scheme also, its debug.
Anyhow it should enter the main method in cefclient_mac.mm, where the breakpoint is.

Re: Debugging cefclient app in mac os x 10.7

PostPosted: Sun Nov 13, 2011 9:49 am
by magreenblatt
Building in Debug mode is not the same as running using the debugger.