| Summary: | Enum can not be Formatted as Hex | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | James Blackburn <jamesblackburn+eclipse> |
| Component: | cdt-debug-cdi-gdb | Assignee: | Project Inbox <cdt-debug-cdi-gdb-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | Elena Laskavaia <elaskavaia.cdt> |
| Severity: | normal | ||
| Priority: | P3 | CC: | pawel.1.piech |
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux-GTK | ||
| Whiteboard: | |||
(this is part of a batch change) The CDI debug implementation has been removed in CDT 9.0. Please see bug 484900 and the entry on the New and Noteworthy page https://wiki.eclipse.org/CDT/User/NewIn90#API_modifications |
#include <stdio.h> #include <stdlib.h> typedef enum IpSocketFlag { closed = 0 , opening , open } IpSocketFlag; int main(void) { IpSocketFlag flag = closed; printf("!!!Hello World!!! %d", flag); /* prints !!!Hello World!!! */ flag = opening; printf("!!!Hello World!!! %d", flag); /* prints !!!Hello World!!! */ return EXIT_SUCCESS; } There seems to be no way to display 'flag' as hex using CDI. Format as Hex still shows the enum as naturally formatted.