Author Topic: debugging with some changes  (Read 2229 times)

ferdy

  • Guest
debugging with some changes
« on: March 27, 2009, 12:40:47 am »
Hi, i was using the compiler cs1300(ansi c), and when i want to compile codeblocks do its great job, but when i starting to use the debugger, it crashes the execution with a memory read/write error, maybe a segmentation error...
i'm really sad, i dont't want to return to use dev-c++ :x.
Please help me, maybe i'm wrong in something.. :(
Thanks a lot, bye bye

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: debugging with some changes
« Reply #1 on: March 27, 2009, 06:49:55 am »
Does this site (http://www.cs.colorado.edu/~main/cs1300/) describe the versions used for CS1300 correctly ?
If yes I think (at least) the debugger might be much to old to work correctly with C::B.

ferdy

  • Guest
Re: debugging with some changes
« Reply #2 on: March 27, 2009, 11:31:28 am »
Thanks, i think i was near the solution, but there something i don't understand:
i create a project and in the main.c i can use debugging
but if i use a single c file, i can't do that...
i could use this workaround, but in the end i must pay attention to the version of the compiler...
thanks so much  :)
have a good day

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: debugging with some changes
« Reply #3 on: March 27, 2009, 12:00:51 pm »
i create a project and in the main.c i can use debugging
but if i use a single c file, i can't do that...

You need a project to use the debugger.

That's not a workaround, it's C::B's standard behaviour.