In the copy.c program, when my debugger reaches line 37
FILE* outptr = fopen(outfile, "w");
I can step into it twice, but then the debugger immediatley exits with this prompt
Compiling /home/ubuntu/workspace/pset4/bmp/copy.c ... make: `copy' is up to date. Process /home/ubuntu/workspace/pset4/bmp/copy created; pid = 51384 Listening on port 15470 Remote debugging from host 127.0.0.1 Killing all inferiors Process exited with code: 0
I can't even look at how each pixel is being processed.
When I run the program normally with ./copy smiley.bmp copy.bmp, it runs fine, and diff smiley.bmp copy.bmp does not return anything, so that's further confirmation.
Help much appreciated in advance.