Photo_37_small Steve Ehrenberg 2 posts

Anyone else have problems with the SimpleBrowser project crashing? I just finished chapter 5 so I’m technically ‘done’ with the SimpleBrowser now, but I’m curious as to how I would debug and fix this in a real project. One site I found ALWAYS crashed the browser was digg.com .. Any ideas/suggestions?

 
Daniel_small Daniel H Ste... 31 posts

Steve,

I’d love to hear what the problem is. I’ve just checked the final version of SimpleBrowser on the digg site and it runs fine here. I’m not saying there isn’t a problem. I’m saying I’m not able to see it. Please post more when you know more. I assume digg works fine in Safari from where you are.

D

 
Johnjoyce_halo_small John Joyce 4 posts

make sure your software is up to date, and check for 3rd party plugins.
The browser you’re building is still largely just using the webkit frameworks which are frequently updated by Safari updates.
3rd party plugins that are out of date or incompatible could easily cause issues.

If you’re really crashing with any project and you can rule out other causes like these, then you need to begin using the debugger.
Make sure nothing is being released early.
NSLog is your pal.
a built app will place NSLog lines directly into system.log
debugging is sometimes stupidly painful to find you made a silly mistake or a typo. these things can be hard to locate and just take diligence and breaks.

3 posts, 3 voices