Giter Site home page Giter Site logo

Debugging Guide about ios_guides HOT 7 OPEN

codepath avatar codepath commented on August 11, 2024
Debugging Guide

from ios_guides.

Comments (7)

Mattmlm avatar Mattmlm commented on August 11, 2024

@nickai
Outline for Debugging guide.txt

from ios_guides.

nickai avatar nickai commented on August 11, 2024

The content looks great!

For the organization of the content, what do you think about organizing it as a series of debugging skills, something like:

  • Fixing Warnings and Errors
  • Using breakpoints
  • Setting breakpoint for all exceptions
  • Using conditional breakpoints
  • Stepping thru code
  • Using print statements to aid in debugging
  • Examining variables in the debugger
  • Debugging view layout issues
  • Using Reveal?
  • Simulating Location?
  • Using Playgrounds?

We are building out the debugging lab so it will be awesome to link to the debugging guide for the students to get a lot more info on these topics.

I feel like Instruments might be meaty enough though to be part of an "Advanced Debugging" guide.

from ios_guides.

Mattmlm avatar Mattmlm commented on August 11, 2024

Hey Nick,

I originally did consider organizing it as a series of debugging skills,
but considered organizing it in the following process:

  • Getting code to run
  • Having code run, but not properly
  • Fixing runtime logic

As you've suggested, I'll go along with dividing it up by the actual tools,
with:

  • Issues Navigator
  • Breakpoints and stepping through code
  • Using the console and print statements
  • Examining variables in the Variables View
  • Using the native View Hierarchy Debugger

I haven't played with Reveal before, but I can create a section for it and
later add to it. I'll add a brief bit about simulating location, and also
the perks of Playground.

Instruments is definitely a to-be-added section. I was really adding it as
a placeholder.

I will include a Gotchas section, in terms of acknowledging how xcode can
be buggy and probably note it in the overview, so that people understand it
isn't completely infallible (especially in regards to the view layout).

On Fri, Feb 5, 2016 at 6:48 PM, Nick Aiwazian [email protected]
wrote:

The content looks great!

For the organization of the content, what do you think about organizing it
as a series of debugging skills, something like:

  • Fixing Warnings and Errors
  • Using breakpoints
  • Setting breakpoint for all exceptions
  • Using conditional breakpoints
  • Stepping thru code
  • Using print statements to aid in debugging
  • Examining variables in the debugger
  • Debugging view layout issues
  • Using Reveal http://revealapp.com?
  • Simulating Location?
  • Using Playgrounds?

We are building out the debugging lab so it will be awesome to link to the
debugging guide for the students to get a lot more info on these topics.

I feel like Instruments might be meaty enough though to be part of an
"Advanced Debugging" guide.


Reply to this email directly or view it on GitHub
#27 (comment).

Matthew Mo

from ios_guides.

nickai avatar nickai commented on August 11, 2024

👍

Reveal costs money so we can just link to it as an alternative option to the native view hierarchy debugger.

from ios_guides.

nickai avatar nickai commented on August 11, 2024

@Mattmlm - This guide is great! The first set of students are going through the debugging lab today and using the guide to get them through the lab.

During the lab, two additional areas surfaced that I think we should get into the debugging guide:

  • Debugging AutoLayout issues (Level 6 in the lab)
  • Pulling in some of the common issues from the designers guide into the debugging guide (i.e. the key value coding compliant issue)

from ios_guides.

Mattmlm avatar Mattmlm commented on August 11, 2024

@nickai

  • Definitely, I completely forgot about AutoLayout issues. I'll be sure to add that into the debugging guide.
  • Also, I'll add the common issues from the designers guide into the Gotchas section. That document is really useful!

from ios_guides.

nickai avatar nickai commented on August 11, 2024

👍

from ios_guides.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.