Flutter – Xcode showing debug errors but Vscode doesn’t

  Kiến thức lập trình

On Xcode 15.2 and Flutter 3.19.5.

A simple error which used to show on VSCode like:

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast

Is now showing only on Xcode, but not shown in the Debug console in VSCode.

Any ideas? This is when I started using a physical iOS device, where now Xcode is forced to open and run alongside VSCode.

LEAVE A COMMENT