You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
display adds an expression to watch list. However, if there's a syntax error, then the command is meaningless. Currently, display still adds this invalid expression into the watch list, which does not make sense in almost all cases. Adding a syntax error check could prevent the users from accidentally adding wrong expressions then having to remove it with undisplay.
Feature or enhancement
Check
SyntaxErrorwhen doingdisplayinpdb.Pitch
displayadds an expression to watch list. However, if there's a syntax error, then the command is meaningless. Currently,displaystill adds this invalid expression into the watch list, which does not make sense in almost all cases. Adding a syntax error check could prevent the users from accidentally adding wrong expressions then having to remove it withundisplay.Linked PRs
displaycommand #103024