This is indeed a bug in the rapid debugger. It will be fixed for the next update. It is not really related to the comment but rather to the sub being "dirty" after you modified it.
You can workaround this in two ways:
- Tools -> Clean Project. This will cause the full project to be deployed and in most cases will solve this issue.
- Use a temporary variable:
B4X:
Dim t As Typeface = Typeface.DEFAULT_BOLD
CellTypeFace(1) = t