Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348239 - Debugger halts after fflush
Summary: Debugger halts after fflush
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 12:12 EDT by Missing name CLA
Modified: 2020-09-04 15:26 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2011-06-03 12:12:11 EDT
Build Identifier: 20110218-0911

When debugging code with a fflush call, the debugger halts. This message is printed on the console.

"*stopped,reason="end-stepping-range",frame={addr="0x000000000040fe1e",func="util",args=[],file="test_fb.c",fullname="test_fb.c",line="177"},thread-id="1",stopped-threads="all"
"

Code example:

#include <stdio.h>

int main(void) {
	printf("Hello World");
	fflush(stdout);
	return 0;
}

Reproducible: Always

Steps to Reproduce:
1. Debug code with fflush
2. Single step the fflush line
3. The debugger will halt