On 28/10/2018 18:35, Michelle Long wrote:
> Debug variables are showing when not in scope. Is it possible to remove
> them? They also show before they are actually defined in the source code.
> 
> 
> 
> int x = 0; < BP here, y and z are shown in the locals.
> 
> int y = 3;
> {
>    int z = 4;
> }
> 
> // z is when when here.
> 
> 
> One ends up with a huge list of variables of all the locals when they
> don't even "exist". I'm using the Mago debugger.

That used to work for dmd, but it seems to have regressed (still works
for try/catch blocks). IIRC LDC does not emit appropriate debug information.
  • Debug variables ... Michelle Long via Digitalmars-d-debugger
    • Re: Debug v... Rainer Schuetze via Digitalmars-d-debugger
      • Re: Deb... Rainer Schuetze via Digitalmars-d-debugger
        • Re:... Michelle Long via Digitalmars-d-debugger
          • ... Rainer Schuetze via Digitalmars-d-debugger
            • ... steve brat via Digitalmars-d-debugger
    • Re: Debug v... Cogniscient Business Solutions via Digitalmars-d-debugger

Reply via email to