September 2019
Beginner
512 pages
12h 52m
English
Dart provides additional features to help with advanced debugging with variants of the common tools that can make the debugging process even more useful. These are as follows:
void login(String username, String password) { debugger(when: password == null); ...}
In this example, a breakpoint will occur only if the condition in the when parameter is true, that is, only if the password argument is null. Let's say this is an unexpected value: pausing the execution at this point may help to see why it occurs and how to react to it. This is very useful for tracing unexpected ...
Read now
Unlock full access