How to set a symbolic breakpoint in Xcode on a WebKit function
up vote
2
down vote
favorite
In order to triage an issue I am trying to set a symbolic breakpoint in Xcode on a c++ function, but it never hits (I tried both live device and simulator, using a debug build).
I am using the function name as listed in a symbolicated stack trace. For example:
WebKit::WebLoaderStrategy::loadResourceSynchronously+
Is there any trick to get this to work?
While I think it is possible to build WebKit I don't think this would be of use since I can't rebuild iOS with my version of WebKit. But I assumed at least the symbols would match up with that is in stack traces of crash logs (and also with the source of WebKit on Git).
Update, if I just enter in "loadResourceSynchronously" it automatically found the following symbols: (cut and paste doesn't work for some reason, so will use an image)
This seems to indicate the symbols are understood by Xcode. However I never see any of them being called. Based on the stack traces I am seeing for crashes I am pretty sure they should be called.
ios xcode webkit breakpoints
add a comment |
up vote
2
down vote
favorite
In order to triage an issue I am trying to set a symbolic breakpoint in Xcode on a c++ function, but it never hits (I tried both live device and simulator, using a debug build).
I am using the function name as listed in a symbolicated stack trace. For example:
WebKit::WebLoaderStrategy::loadResourceSynchronously+
Is there any trick to get this to work?
While I think it is possible to build WebKit I don't think this would be of use since I can't rebuild iOS with my version of WebKit. But I assumed at least the symbols would match up with that is in stack traces of crash logs (and also with the source of WebKit on Git).
Update, if I just enter in "loadResourceSynchronously" it automatically found the following symbols: (cut and paste doesn't work for some reason, so will use an image)
This seems to indicate the symbols are understood by Xcode. However I never see any of them being called. Based on the stack traces I am seeing for crashes I am pretty sure they should be called.
ios xcode webkit breakpoints
you should post the stacktrace that led you to the conclusion one of these is called.
– Brad Allred
Nov 19 at 13:23
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
In order to triage an issue I am trying to set a symbolic breakpoint in Xcode on a c++ function, but it never hits (I tried both live device and simulator, using a debug build).
I am using the function name as listed in a symbolicated stack trace. For example:
WebKit::WebLoaderStrategy::loadResourceSynchronously+
Is there any trick to get this to work?
While I think it is possible to build WebKit I don't think this would be of use since I can't rebuild iOS with my version of WebKit. But I assumed at least the symbols would match up with that is in stack traces of crash logs (and also with the source of WebKit on Git).
Update, if I just enter in "loadResourceSynchronously" it automatically found the following symbols: (cut and paste doesn't work for some reason, so will use an image)
This seems to indicate the symbols are understood by Xcode. However I never see any of them being called. Based on the stack traces I am seeing for crashes I am pretty sure they should be called.
ios xcode webkit breakpoints
In order to triage an issue I am trying to set a symbolic breakpoint in Xcode on a c++ function, but it never hits (I tried both live device and simulator, using a debug build).
I am using the function name as listed in a symbolicated stack trace. For example:
WebKit::WebLoaderStrategy::loadResourceSynchronously+
Is there any trick to get this to work?
While I think it is possible to build WebKit I don't think this would be of use since I can't rebuild iOS with my version of WebKit. But I assumed at least the symbols would match up with that is in stack traces of crash logs (and also with the source of WebKit on Git).
Update, if I just enter in "loadResourceSynchronously" it automatically found the following symbols: (cut and paste doesn't work for some reason, so will use an image)
This seems to indicate the symbols are understood by Xcode. However I never see any of them being called. Based on the stack traces I am seeing for crashes I am pretty sure they should be called.
ios xcode webkit breakpoints
ios xcode webkit breakpoints
edited Nov 10 at 0:17
asked Nov 9 at 22:57
Locksleyu
1,77843257
1,77843257
you should post the stacktrace that led you to the conclusion one of these is called.
– Brad Allred
Nov 19 at 13:23
add a comment |
you should post the stacktrace that led you to the conclusion one of these is called.
– Brad Allred
Nov 19 at 13:23
you should post the stacktrace that led you to the conclusion one of these is called.
– Brad Allred
Nov 19 at 13:23
you should post the stacktrace that led you to the conclusion one of these is called.
– Brad Allred
Nov 19 at 13:23
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234316%2fhow-to-set-a-symbolic-breakpoint-in-xcode-on-a-webkit-function%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
you should post the stacktrace that led you to the conclusion one of these is called.
– Brad Allred
Nov 19 at 13:23