Interesting thing happened as my colleagues is able to debug the same code on his PC but not me. The main difference between our computers is version of Windows (I have 10 and he has 11). I wonder if it is because of Windows version or some Windows setting that causes me being unable to debug BPL (statically and dynamically loaded).