Hi there,
last year I started a topic with the same issue but couldn't reproduce it anymore. Today I found a way. But now the forum says "Warning: this topic has not been posted in for at least 120 days. Unless you're sure you want to reply, please consider starting a new topic." So, here it is.
In a larger uC-project I'm using Code::Blocks and Notepad++ parallel because of some nice features in NPP. For a compiler run the task switch normally works fine and CB asks to update the shown source code. The exceptions is when I activate CB by clicking with the mouse on the titlebar. Clicking in any frame works fine but the titlebar rises an assertation.
Please see attached screenshots for details.
I'm running the actual Win10 with CB and NPP in the latest release versions.