-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
dbg!() without parameters #57845
Copy link
Copy link
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Hello,
I found dbg!(..) is very useful, but, unfortunately it does not support dbg!() without expression, which could help to debug your program also.
I found that println!() did not work in first versions also, but later it was fixed, that is why I suppose dbg!() has the same story.
dbg!(()) is ok, but its just workaround.
Thank you,