NO

Author Topic: POIDE: Code folding gets breakpoints wrong  (Read 4222 times)

RJP Computing

  • Guest
POIDE: Code folding gets breakpoints wrong
« on: June 03, 2005, 02:44:12 PM »
If you have a bunch of your code folded and you add a breakpoint after one of the folds. When you start your debugging session it gives you an error.
Quote
Unable to set breakpoint at line *** in 'file.c'

I noticed also that the line number it gives is based on the lines displayed instead of taking into account the code is folded.

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
POIDE: Code folding gets breakpoints wrong
« Reply #1 on: June 04, 2005, 07:17:30 PM »
OK - I will look at it...

Pelle
/Pelle

RJP Computing

  • Guest
POIDE: Code folding gets breakpoints wrong
« Reply #2 on: June 21, 2005, 09:38:37 PM »
Any news on this?

Just also wanted to thank you for all the hard work and time you put into PellesC.

 =D> Thanks  =D>

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
POIDE: Code folding gets breakpoints wrong
« Reply #3 on: June 22, 2005, 01:09:57 AM »
All I can say right now is that it will be fixed in the next release. I'm not sure when that will be.

If you don't want to unfold all lines, maybe you can put __asm int3 (=CPU breakpoint instruction; no space between int and 3) in the source code for now...?

Pelle
/Pelle