[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


Debugger Error Messages

The following list explains error messages that you might receive from the debugger, with some hints about the possible causes or circumstances of the error. Messages listed without comment are self-explanatory.


An unknown error occurred while trying to target an existing process.

Internal error.


Bad type code

Internal error.


Bus Error

Attempt to read or write to an invalid address.


can't display value -- type information not supported

The symbolics file contains a data type that the debugger does not support.


Can't use this source file, it was not saved before running, or was edited after linking.

The debugger does not have access to the same text available to the compiler. The debugger just issues a warning unless the debugging information references nonexistent text, in which case it gives you this error message.


class name expected

Unexpectedly encountered something other than a class name while evaluating an expression.


Could not complete your request because the process is not suspended.

The command you issued cannot be performed while the program is running.


Could not set a watch point because the page containing that memory location overlaps low memory or the system heap.

Watchpoints cannot be set in low memory or in the system heap.


Could not set a watch point because the page containing that memory location overlaps the stack.

Watchpoints are implemented via the memory write-protection mechanism, which operates at the page level. You cannot write-protect a page of memory containing part of the stack.


Couldn't locate the program entry point, program will not stop on launch.

When launching a program, the debugger normally sets an implicit breakpoint at the beginning of the function named main() (in C/C++) or the main program (in Pascal). If the debugger cannot find such a routine, it just launches the program without suspending that program's execution.


identified or qualified name expected

Unexpectedly encountered something other than an identifier or qualified name while evaluating an expression.


illegal character constant

Invalid character constant encountered while evaluating an expression.


illegal string constant

Invalid string constant encountered while evaluating an expression.


illegal token

Invalid token encountered while evaluating an expression.


Invalid C or Pascal string.

An ill-formed string was encountered in evaluating an expression.


Invalid character constant.

An invalid character constant was encountered in evaluating an expression.


Invalid escape sequence inside string or character constant.

C/C++ escape sequence in a string was not valid syntax.


invalid pointer or reference expression

Invalid pointer or reference expression encountered while evaluating an expression.


invalid type declaration

Invalid type encountered while evaluating an expression.


invalid type information in SYM file

The debugger is unable to display a variable because of bad data in the symbolics file.


New variable value is too large for the destination variable.

For example, you have attempted to assign a 20-byte string to a 10-byte string variable.


No type with that name exists.

The debugger does not recognize a type name you have entered in the View As dialog box.


Register not available

The debugger is unable to get a valid register value to display a register variable. For example, when looking at routines up the stack from the current routine, the debugger cannot retrieve the saved register values unless all routines below it on the stack have debugging information.


string too long

String exceeds maximum permissible length.


The new variable value is the wrong type for the destination variable.

You have attempted to assign a value of the wrong type to a variable, such as a string to an integer variable.


typedef name expected

Unexpectedly encountered something other than a typedef name while evaluating an expression.


Unable to step from here.

The debugger cannot step execution from this point.


Unable to step out from here.

The debugger cannot step out from this point.


undefined identifier

Undefined identifier encountered while evaluating an expression.


unexpected token

Unexpected token encountered while evaluating an expression.


unknown error "^0"

An internal error that was not expected to reach the user.


unterminated comment

A closing comment bracket is missing.


Variable or expression cannot be used as an address.

For example, if r is a Rect, *(char*)r is invalid.


Warning - this SYM file has some invalid or inconsistent data. The debugger may show incorrect information.

Your symbolics file may have been corrupted.


'*' or '&' expected

Unexpectedly encountered something other than a pointer or reference operator while evaluating an expression.


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000