I also met the same thing.
Below method works for code of **.NET FrameWork** and **.NET core** (including .NET 5, 6, 7 ...).
If you need set condition for the type not equals to **string**, you can set the conditions as below:
```cs
typeof(T) != typeof(string)
```
For example, the code is below:
[![condition breakpoint on type][1]][1]
May it be helpful for you.
[1]: https://i.sstatic.net/JB3EOz2C.png
Below method works for code of **.NET FrameWork** and **.NET core** (including .NET 5, 6, 7 ...).
If you need set condition for the type not equals to **string**, you can set the conditions as below:
```cs
typeof(T) != typeof(string)
```
For example, the code is below:
[![enter image description here][1]][1]
May it be helpful for you.
[1]: https://i.sstatic.net/JB3EOz2C.png