Announcement

Collapse
No announcement yet.

Abnormal Switch Case Behavior

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Abnormal Switch Case Behavior

    Hello,
    I have a simple switch-case function, but my const switchParameter changes himself in the function.
    What is the problem?

    When I jump into the function, the number is right:
    Click image for larger version

Name:	functionSnapshot1.PNG
Views:	1
Size:	36.7 KB
ID:	1136523
    When I press F11 it jumps to this:
    Click image for larger version

Name:	functionSnapshot2.PNG
Views:	1
Size:	37.7 KB
ID:	1136524
    Then this:
    Click image for larger version

Name:	functionSnapshot3.PNG
Views:	1
Size:	37.2 KB
ID:	1136525
    And this:
    Click image for larger version

Name:	functionSnapshot4.PNG
Views:	1
Size:	37.0 KB
ID:	1136526

    #2
    Looks fine to me. First thing I'd check is if you've compiled your code in debug as the watch data isn't reliable in release.

    Comment


      #3
      I was in the mode "Development Editor".
      And well, that solved the Problem

      Thank you

      Comment

      Working...
      X