extern(C++) no intellisense VD
Adam Sansier via Digitalmars-d-ide
digitalmars-d-ide at puremagic.com
Sat Jul 16 15:01:03 PDT 2016
On Friday, 15 July 2016 at 06:23:11 UTC, Rainer Schuetze wrote:
>
>
> On 13.07.2016 01:13, Adam Sansier wrote:
>> When specifying a class or struct to be extern(C++),
>> intellisense breaks.
>>
>
> Could you give a concrete example? This works for me:
>
> extern(C++) class CC
> {
> void foo() {}
>
> int xyz;
> }
>
> void fun()
> {
> CC cc;
> cc.f // expansion here
> }
>
> I think the parser more or less ignores the "extern(C++)".
I might have been wrong on this. I think it simply didn't show it
for modifier and moved on past the problem.
There are so many issues with debugging that I feel like I will
lose all my hair if I continue. I am so used to the
elegance(relatively) of VS's C++ debugger with all it's helpful
and accurate features that D feels like I'm drowning(spending
literally 10x as long to debug code). So much obfuscation like
effects. Cannot use registers in memory windows. EAX is invalid.
C++ works. I have to make locals in code, rerun the program just
to be able to get at a variable so it makes sense in the
debugger. (e.g., if it's static, I have to make a non-static
local variable and assign it just to see the contents). I have to
copy addresses manually, If I leave a space, doesn't work. "e.g.,
`34245 ` is invalid. No debugsense over source code like C++ and
C# have now. Even if it just showed the addresses, it would be
better. Cannot copy more than one line of the disassembly, etc.
It would be nice, also, if all addresses could be set to be
relative to base frame of app. This way different program
executions do not show different addresses(which are pretty much
all addresses). This would help debugging because it it would
provide more consistency. Since sometimes we need absolute
address view so the ability to toggle would be best.
Are there any plans to improve Visual D/Mago or is it just in the
maintenance/limbo stage?
More information about the Digitalmars-d-ide
mailing list