After upgrading toolchain, simulator won't put breakpoints!

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I updated my toolchain my forcefully unzipping it to the toolchain folder.

Then, when I compile my project, and run it, breakpoints don't work. Then I click pause and Atmel Studio asks me for

C:\mnt\nfs\home\georg\gnu\gcc.gnu.org\gcc-4_9-branch\libgcc\config\avr\lib1funcs.S 

Probably a developer failed to make a relative path there... lol fail

So because of him, I cannot trace bugs in my application :(

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If someone has built a toolchain with debug symbols then you can "avr-strip -g" any files affected.

 

Personally I would stop using their toolchain. If they don't know about stripping symbols from system library code what else didn't they know how to do properly? Building compilers and libraries for them is an arcane art and should be left to the true experts. At one stage this used to mean Eric Weddington. These days it also includes Atmel too.

 

I'd just stick with their 4.8.1 build until they bring out a 4.9.x one.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yeah right 4.8.1 gives me a compiler's internal error on __flash'd struct array

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Then don't use __flash but revert to the stable PROGMEM.