www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11028] New: Step over repeats lines while debugging

http://d.puremagic.com/issues/show_bug.cgi?id=11028

           Summary: Step over repeats lines while debugging
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: VisualD
        AssignedTo: nobody puremagic.com
        ReportedBy: r.sagitario gmx.de


--- Comment #0 from Rainer Schuetze <r.sagitario gmx.de> 2013-09-13 13:24:18
PDT ---
original report: http://www.dsource.org/projects/visuald/ticket/132

reported 05/05/12 08:33:33 by Anonymous for version 0.3.31
bug in Debugger

While debugging, stepping with F10 (step over) frequently repeats certain
lines.
Having to press F10 many times to get past a particular line often leads to
accidentally skipping over the following line, which may be of interest ;)
There are some patterns I notice:
* Entering a function almost always requires 2-3 steps.
* Declaration of an array requires as many steps are there are elements in the
array (initialising?)
* Array assignments likewise.
* Lines with more complex expressions.
* Function calls often take multiple steps to pass.


The annoying workaround for array operations is to set a breakpoint on the next
line, F5, then un-set it.
Expect; F10 should always move to the next line.
I suspect this may be a difference between dwarf and pdb that cv2pdb doesn't
account for?
Note: I'm debugging 64it GDC binaries using the Visual Studio debugger (can't
use Mago)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 13 2013