Bug 11029 – templates, nested structs do not debug properly

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
visuald
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-09-13T13:25:56Z
Last change time
2019-11-21T21:58:42Z
Keywords
DebugInfo
Assigned to
No Owner
Creator
Rainer Schuetze

Comments

Comment #0 by r.sagitario — 2013-09-13T13:25:56Z
original report: http://www.dsource.org/projects/visuald/ticket/237 reported 12/12/12 18:26:33 by Anonymous for version 0.3.34 bug in Debugger Can't step into methods of nested structs or some templates. The debugger jumps to the bottom of the source. I guess visual D or the debug information is not reporting the locations of these properly. You can debug them, but simply the source code line is always at the bottom of the source and does not visually jump up to the method you are debugging. Comment 1: 12/14/12 13:52:18 by sagitario I guess it is dmd, but my tries do not produce problems. Can you post an example? Comment 2: 12/14/12 14:10:58 by sagitario This is probably the same as #173 (Simple member function being skipped over (new)), but the test case there work fine for me, too. Maybe it depends on some project option? anything changed from the default settings created by the project wizard?
Comment #1 by r.sagitario — 2013-12-18T06:16:23Z
mago had troubles with line number that are not ascending. This shold be fixed in https://github.com/D-Programming-Language/visuald/releases/tag/v0.3.38beta2
Comment #2 by r.sagitario — 2019-11-17T17:47:52Z
Comment #3 by r.sagitario — 2019-11-21T21:58:42Z
Hard to say without more information, so let's assume this is a duplicate of https://issues.dlang.org/show_bug.cgi?id=20253 *** This issue has been marked as a duplicate of issue 20253 ***