Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual Studio 2019 is coming
Message
From
03/04/2019 13:45:15
 
 
To
28/03/2019 16:54:31
General information
Forum:
Visual Studio
Category:
Other
Miscellaneous
Thread ID:
01667648
Message ID:
01667900
Views:
53
>Visual Studio 2019 is expected to be released on April 2nd. Anyone of you been able to test it so far? If yes, what are your impressions. Any significant changes in the interface?

Now that the full version's come out, I've done some more testing. Some issues I've found:

#1 -- Code Analysis is still buggy. It can be fooled with this code:
if ((ptr = assign_ptr()) && ptr->member == test_value)
    // Do something here
It thinks ptr->member may dereference a NULL pointer. By C/C++'s rules, when you do something inside (), the last thing assigned is the value that propagates, meaning if you use (x = 2, y = 3, z = 4) the value used as the value outside of those parentheses will be 4. In the cast of (ptr = assign_ptr()) the value to test is the return result, which is the value of ptr, and for it to continue it is known it will be non-NULL, so there will never be a NULL dereference on ptr->member at that point in the code.

And this:
s8 c;
long value;

    c = get_a_character_from_some_input();
    if (c >= '0' && c <= '9')
    {
        // A number
        value = value * 10 + (long)(c - '0');
    }
Here, it thinks that there could be numeric overflow by taking c and subtracting '0' from it. The value c is known to be '0' thru '9', so when you subtract '0' from it, it will result in one of (0,1,2,3,4,5,6,7,8,9), which will never overflow.

It also has no ability to recognize functions which are called which have already had input parameters tested, so they don't require new testing.

#2 -- Code Analysis doesn't highlight the entire line any longer, but puts green squiggly lines beneath the portion being stated. It was much clearer with colored lines.

#3 -- I can't find options to have it just start with a blank environment. It always lands on the splash screen and I have to click "Continue without code."

Benefits:
#1 -- It uses the titlebar area, which saves 1/3" screen space.

#2 -- Seems fast and stable.

#3 -- Slightly new appearance, which is nice overall.

UPDATE: #4 -- They also incorporated Time Travel Debugging into Visual Studio. Previously it was only available in WinDbg.

-----
Visual Studio is really growing into a tremendous developer environment.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform