Moving breakpoints...

Greetings...

I'm using the 2.0.2 RC...

I'm not sure this is a bug...it might just be a normal condition.

If I have breakpoints established in a file and I update via git and the file changes, the breakpoints are now on different lines if new code is added to that file above those breakpoints. I suspect this is normal because I think of breakpoints being associated with a line number.

Mark

3 comments

Hi Mark,

Greetings...

I'm using the 2.0.2 RC...

I'm not sure this is a bug...it might just be a normal condition.

If I have breakpoints established in a file and I update via git and the file changes, the breakpoints are now on different lines if new code is added to that file above those breakpoints. I suspect this is normal because I think of breakpoints being associated with a line number.

In case you edit code with breakpoints set inside RubyMine then RubyMine should automatically move them if line number changes.
In case you make some external changes RubyMine doesn't analyze change thus breakpoints don't update.

Regards,
Oleg

0

Yes...

I would consider a file edited by a teammate and then merged into the file on my box via a "git pull" would be considered an external pull.

Thanks,
Mark

0

We should definitely mention this issue in documentation, if it is not yet.

Regards,
Oleg

0

Please sign in to leave a comment.