ios - How can I debug effectively with blocks in Xcode -
i'm struggling debugging code on our big ios project. seems has gone nuts on putting blocks , dispatch queues everywhere.
when i'm asked debug chunk of code, step through , watch how things change, , see happening variables. can't blocks have been put in 2 reasons:
i have put breakpoint within each little block stop in block.
within block, variables without block not displayed in useable fashion, , can't dumped console po command.
is there easier or better way step through/evaluate code rife blocks? or missing here?
do use breakpoint automatically console dump (without stopping running app)?
there far excellent, usable tutorial about intermediate debugging.
happy coding!
Comments
Post a Comment