With significant limitations, you can use Prism to debug C++ programs containing the features described in this section.
Prism recognizes casting a class pointer to the class of a base type only for single inheritance relationships. For example, Prism recognizes the following cast syntax when printing variable P:
(prism) print (struct class_name *) P (prism) print (class class_name *) P (prism) print (class_name *) P
You can print static class members when the current scope is a class method. You cannot print static class members when not in class scope. For example, the following command will fail if you issue it outside of the scope of class_name:
(prism) print class_name::var_name
You cannot use a method name that has some forms of non-C identifier syntax to set a breakpoint. For example, this fails with a syntax error:
(prism) stop in class_name::operator+
You must instead use stop at line syntax. These method names are correctly identified in a stack trace, however.