PTVS has inconsistent behavior when stepping through code. When using "Step Over" sometimes it steps over and sometimes it steps into. Below is a script to reproduce the issue, machine and python config, and a video showing the problem with PTVS
2.1RC1. The problem is reproducible in PTVS2.0 as well.
temp = param1
a_string = "A string"
if __name__ == "__main__":
- breakpoint at a_string = "A string"
- right click file and select "Start with Debugging"
- step over a_string = "A string"
- step over foo(a_string)
- ptvs steps into foo(a_string)
Python 2.7.5 x86
Windows 7 x64
Visual Studio 2013
Video of bug: http://youtu.be/ZMbq1Fpi09k