Ok I solved my own problem (a small miracle there).
The reason that it did not work is that you have to call anything that
uses mscordbi
(like mdbg), from an thread that is running in ApartmentState.MTA.
Therefore,
I needed to create a second worker thread in my IronPython script running
in
MTA
I am experimenting and learning about debugging by playing with the source
code to mdbg and the various samples.
I thought it would be fun to take the mdbg c# example program that prints
out modules as they are loaded and make a
version in IronPython (I tried IP 1.1 and 2.0A3):
import clr
clr.A