.DEF File Entry of EXECUTEONLY Causes Problems with CVP

ID Number: Q47103

2.20 2.30 2.35 3.00 3.10 3.11 3.12 3.50

OS/2

Question:

When I step into my DLL, I can see and step through the source code

correctly. I also can look at local variables. However, I cannot set

breakpoints in the DLL. Also, when I try to look at the disassembled

code, I see the following:

??? No Code ???

I am using the correct Compile and Link options. Why is CodeView

acting strangely?

Response:

In the .DEF file for the DLL, you had the EXECUTEONLY attribute as

opposed to the default EXECUTEREAD. When you choose EXECUTEONLY,

CodeView cannot read the code segment, which it must do to work

correctly. Removing the EXECUTEONLY attribute corrects the problem.