| Summary: | Debugging is not happening properly | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | GaneshrajS <ganesh-s.raj> |
| Component: | cdt-debug-cdi-gdb | Assignee: | Project Inbox <cdt-debug-cdi-gdb-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | Elena Laskavaia <elaskavaia.cdt> |
| Severity: | blocker | ||
| Priority: | P3 | CC: | cdtdoug, ganesh-s.raj, marc.khouzam, pawel.1.piech |
| Version: | 7.0.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
GaneshrajS
(In reply to comment #0) > Issue 2: If there is any printf statements stepover should print its output in > the console view but it is not happening. It is printed only when we resume the > debug session. You can try one of: 1- adding fflush(stdout) after printf() 2- adding the following lines at the beginning of the program: setvbuf(stdout, NULL, _IONBF, 0); setvbuf(stderr, NULL, _IONBF, 0); 3- adding the line set new-console on to a gdbinit file for your launch See Bug 345029 (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 |