Pelles C forum
Pelles C => Bug reports => Topic started by: Sascha8192 on December 03, 2012, 01:06:00 AM
-
My System:
Notebook win8 64 Pro 4gb Ram
Project "Konsolenanwendung"
Options compiler:
-std:C11 -Tx86-coff -Zi -Ob1 -fp:fast -W1 -Gd
Options Linker:
-debug -debugtype:both -subsystem:console -machine:x86
"Fehlersuche starten" -----> Module Poide.exe caused an Access violation exception at address ... 0042c56c
What can I do?
-
Well, for starts we're going to need to see the code that caused the problem.
-
The error occurs always ( win8 )
int i;
for(i = 0;i < 10; i++)
printf("%i\n",i);
>:(
compile and run no problem only debugger -----> crash
-
Try setting optimization:NONE
Maybe some optimization interfere with debugger.
Anyway it's always a good habit to disable optimization while debugging, unless you are just tracing an optimization problem (yes can happen when code is sqeezed too much... :-\)
-
Try setting optimization:NONE
Agreed ... there are still some problems in the Optimizer.
-
Seems this may be related to the thread I posted in the Beginner Section.
http://forum.pellesc.de/index.php?topic=5069.0 (http://forum.pellesc.de/index.php?topic=5069.0)