Search Issue Tracker

Fix in review

Votes

2

Found in

4.3.0b3

Issue ID

568430

Regression

No

Step-Over skips the whole body of switch statement

CodeEditors

-

-

Priority: 5Not yet prioritized for a release

-

Severity: 3Secondary functionality broken

Steps to reproduce :

- create a new project
- import the script attached
- create a new game object and attach the script to it
- attach the debugger and set a breakpoint in the Update function
- press play and in Mono Develop press step over and notice that it skips the switch statement

Comments (1)

  1. Dc5fd172ebce3a9aa25cb08c47d3ea46?d=mm

    CrazyDef

    Sep 02, 2014 06:44

    From what I've seen debugging is basically broken in Unity. You can't single step more than a few lines before Unity just starts running again. I'm using UnityVS as my primary debugger, but MonoDevelop doesn't work any better. The guys at Microsoft (who own UnityVS these days) are blaming an ancient scripting engine within Unity. So, Unity... when are you going to upgrade?

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.