In short: All problems arose due to debugging a 32Bit
dll in a 64Bit
environment.
As can be seen from original question, and side issues mentioned in comments, I had few problems here:
- Debugger is not present in a process it has allegedly launched.
- When manually attached, symbols were not loaded.
- When hitting "Break All" process apeared to be deadloack.
The reason is as mention the dll being 32Bit
while debugger is 64Bit
. The path to rundll32.exe
interpernted as the 64Bit
version. That normally causes WOW64
to launch a sub-process of the 32Bit
version - hereby different process thus debugger not present.
Thanks all.