QCW9109012: Watching Illegal Structure Generates no Errors

ID Number: Q76693

1.00

WINDOWS

buglist1.00

Summary:

PROBLEM ID: QCW9109012

SYMPTOMS

In certain situations, the Microsoft QuickC for Windows (QC/Win)

version 1.0 integrated debugger will not generate an error message

if the user attempts to place a Watch on a structure member that

does not exist.

STATUS

Microsoft has confirmed this to be a problem in QuickC for Windows

version 1.0. We are researching this problem and will post new

information here as it becomes available.

More Information:

The sample code below demonstrates this problem. If Watch Expression

is chosen from the Debug menu and the watch expression "test.ax" is

entered, the resultant expression will be displayed as follows in the

Watch window:

test.ax =

Since "test.ax" is a structure member which does not exist, the Watch

window should display it as follows:

test.ax = CAN0030: Error: expression not evaluatable

Sample Code

-----------

/* Compile options needed: QuickWin .EXE

*/

#include <stdio.h>

void main(void)

{

struct test

{

int a, b;

} test;

test.a = 1;

test.b = 2;

}

Additional reference words: QCWin QC/Win 1.00