Revision history [back]
For the record for others that might run into this: The solution in this case was enabling the Debug Child Processes option under the Debug/Execute tab in Project Properties because the code was being run in a sub-process. See also above comments for things to try if you run into this problem.