flutter / flutter/flutter-intellij

Show instance ID on objects when debugging

Open
#4,149 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

Hey,

Long time I didn't open an issue here :p I miss it so here is one ^^

My use case:

> I'm using Provider and I'm proving two instance of the same BLoC. When using a breakpoint I would like to know which instance a given by provider.

Would be nice to have the instance ID of the object to be able to identify it:
Capture d’écran 2019-11-29 à 13 15 28

Here I would like to know which CashRegisterBloc it is but can't easily.

As you can see it's done for widgets/states but not for plain objects. It's a shame as it can really simplify debugging such use case (that can happen even without provider involved).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.