History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-3136
Type: New Feature New Feature
Status: Open Open
Assignee: Eugene Zhuravlev
Reporter: Dmitry Jemerov
Votes: 1
Watchers: 1
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

When IDEA detects that a breakpoint is invalid, it should move it to the next line of code where it would be valid

Created: 23 Jun 05 00:31   Updated: 23 Jun 05 13:38
Component/s: Debugger
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 3,378


 Description  « Hide
For example, I have a variable declaration on one line and assignment on another. I set the breakpoint on the declaration line, and when I debug my program, the breakpoint is silently disabled. It would be much more convenient if the breakpoint would be automatically moved to the next line, containing the assignment.

Such a move should probably never cross method boundaries.

This behavior is how Visual Studio currently works.



 All   Comments   Work Log   Change History      Sort Order:
Keith Lea - 23 Jun 05 00:49
I think the breakpoint should be transparently moved, without actually moving the line that the breakpoint is on. It seems silly limitation that I can only break on executable lines. Obviously I want the execution point to stop when it reaches that line, whether it executes anything on the line or not.