Flutter Dev Tools Flashcards

(23 cards)

1
Q

identifying and resolving errors/bugs in software

A

debugging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

type of error caused by incorrect program flow, semantic errors, and flawed logic

A

logical error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

possible fix for logical error

A

look at requirements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

type of error that is often caused by unexpected data, null values, out-of-bounds access, or issues with external resources

A

runtime errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

possible strategies to debug runtime errors (2)

A
  1. read the debug information
  2. use try-catch
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

examples of runtime errors (3)

A
  1. NullPointerException
  2. NoSuchMethod
  3. FileNotFoundException
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

type of error caused by a broken layout

A

rendering issues

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

possible strategies to debug rendering issues (3)

A
  1. flutter inspector
  2. read the widget properties and documentation
  3. use “show guidelines” and “highlight repaints” tool
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

example of rendering issues (2)

A
  1. layout overflow
  2. incorrect widget placement
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

type of error which causes the program to run unexpectedly slow but not crash

A

performance problems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

possible strategies to fix performance problems (3)

A
  1. app profiling
  2. use flutter dev tools
  3. read the flutter dev tools results
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

type of error caused by problems interacting with external APIs, services, and databases

A

integration errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

possible strategies to fix integration errors (3)

A
  1. use flutter dev tools (network)
  2. read the external service’s documentation
  3. testing api endpoints independently
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

flutter dev tool that shows the device info, sdk info, and emulator info

A

summary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

flutter dev tool that shows the tree view and details of every widget

A

widget inspector

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

flutter dev tools that provide additional visualizations to help you analyze your layout (3)

A
  1. show guidelines
  2. show baselines
  3. highlight repaints
17
Q

flutter dev tool that combines key metrics and visualizations from the timeline and CPU profiler

A

performance profiler

18
Q

flutter dev tool that shows CPU use analysis and identifies expensive functions

19
Q

flutter dev tool that shows memory usage analysis, identifies memory leaks, and garbage collection analysis

A

memory analyser

20
Q

flutter dev tool that shows http requests

A

network analyser

21
Q

flutter dev tool that shows the log of events that occurred in the app

22
Q

flutter dev tool that shows package specific information

A

package specific

23
Q

flutter dev tools are for (5)

A
  1. for deeper understanding
  2. efficient debugging
  3. performance optimization
  4. ui inspection
  5. network analysis