Menu

#120 Breakpoints and folded functions

None
fixed
Breakpoint (1)
2014-04-18
2014-03-22
No

Marking a line as a breakpoint, if any functions are "folded" above the line, will cause the breakpoint to be misplaced. Usually ends up in the folded function above.

Discussion

  • orwelldevcpp

    orwelldevcpp - 2014-03-28

    Can you tell me what version of Dev-C++ you are using?

    If it's the most recent one, can you elaborate a bit on the steps needed to reproduce this problem?

     
  • Tim Monteiro

    Tim Monteiro - 2014-03-29

    Sorry, I could have elaborated on the problem a bit better...

    I am using the latest version of DC++

    The problem can be easily reproduced with the hypothetical functions Foo() and Bar(), in succession in the same file. When all functions/groups are un-folded, breakpoints can be correctly placed by clicking on the line number.

    1

    However, when following the same method of inserting a breakpoint when a group or function is folded above the line, no added breakpoint is visible (most of the time).

    2
    (The black line is where I attempted to add a breakpoint)

    Instead, when the function/group above is un-folded, the breakpoint that was supposed to be added below was instead shifted up a number of lines.

    3

     

    Last edit: Tim Monteiro 2014-03-29
  • orwelldevcpp

    orwelldevcpp - 2014-03-30

    Should be fixed as of this build of 5.6.3. Please confirm.

     
  • orwelldevcpp

    orwelldevcpp - 2014-04-18
    • status: open --> fixed
    • Milestone: -->
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.