At 06:39 PM 4/5/2000 , you wrote:
>Debugging is working OK on my Win2000 system with POSE 3.0a4 and CW 4.0.1
>build 436.  However, there are a bunch of irritating bugs:
>
>1. When attempting to clear a breakpoint during debugging I often get
>Unknown Error Code: 0x021c.  Is there any way around this bug?

yes quite annoying, but actually you will notice that after the 0x021c 
message is displayed the debugger does not stop at that breakpoint anymore.

>2. After debugging, I usually need to exit CW and restart it before I can
>debug again.  Is there any way around this?

I have this sometimes only

>3. I added the following code to help me debug something:
>
>    // macy debug
>    int Test1 = sizeof(CCompressedRec);
>    int Test2 = (int) pNext;
>    int Test3 = (int) &m_Text;
>    int Test4 = pNext - m_Text;
>    int Test5 = (sizeof(CCompressedRec) - CPERTEXT + (pNext - m_Text));
>
>     return(sizeof(CCompressedRec) - CPERTEXT + (pNext - m_Text));
>
>and I found that Test1 through Test5 were always set to the same value.
>That is, when Test1 changed, so did all the others.  I imagine that this is
>due to optimization and the fact that those variables aren't used.  Or is it
>a bug?  Any way around this?

yes this is due to optimization. Since you do not use Test1-Test5 they are 
all assigned to the same memory location. Turn off all optimizations to 
avoid this.

Chris

---
Christian Vandendorpe ([EMAIL PROTECTED])
http://www.zorglub.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to