www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - C# tricks for visual D

reply Michelle Long <HappyDance321 gmail.com> writes:

return value

System.IO.Path.GetFileName returned	"fda.pdf"	string

and it does this for all executed functions that return a value.

this would be nice for VisualD
Mar 22 2019
parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 22/03/2019 21:51, Michelle Long wrote:

 
 System.IO.Path.GetFileName returned    "fda.pdf"    string
 
 and it does this for all executed functions that return a value.
 
 this would be nice for VisualD
 
With the mago extension for the Visual Studio debugger the return values of functions stepped over are shown in the auto window. Unfortunately that does not work for slices (including strings) on platform x64 as D uses an ABI incompatible with C++. (I should probably change the default debug engine back from mago to VS).
Mar 24 2019