Mago with VisualD can't show top-level variables in the watch window
Lewis via Digitalmars-d-ide
digitalmars-d-ide at puremagic.com
Mon Jul 27 17:48:46 PDT 2015
On Monday, 27 July 2015 at 07:05:51 UTC, Rainer Schuetze wrote:
>
>
> On 27.07.2015 03:21, Lewis wrote:
>> [...]
>
> Unfortunately there is not enough debug information to figure
> out the mangling of TEST_CONSTANT, because it is decorated with
> the module name. So you have to specify its fully qualified
> name in watch window, e.g. "test.TEST_CONSTANT" if your module
> is named "test".
>
> [This works with mago, but the Visual Studio debugger engine is
> confused by '.' inside names. cv2pdb translates them to '@', so
> you have to use "test at TEST_CONSTANT" with the translated debug
> information.]
Ahhh, gotcha. Too bad it can't infer that, but that's perfectly
acceptable as a workaround. Thanks!
More information about the Digitalmars-d-ide
mailing list