Advanced development features in Parallels Desktop for Mac Pro Edition

Parallels
74 followers
3 Video Views·Oct 26, 2024
hi I'm Kurt from parallels and for those
of you that have chosen to use Apple
hardware for your development this short
video will show you some new features in
parallels desktop aimed specifically at
the task of developers and testers
parallels desktop Pro Edition which
recently was released adds features like
for example Network conditioning and the
ability to debug in a separate OS and
I'll show you these in this short video
as you can see on my screen I have
parallels desktop loaded and I have a
number of virtual machines already I
have five versions of Windows loaded I
have five versions of the Mac OS and I
have one Linux distribution parallels
desktop enables you to load as many
virtual machines as you have room on
your hard drive and to run as many
simultaneously as you have RAM for right
now I'm running two simultaneously
Windows 10 and Windows 7 before I jump
into development tasks let me give you a
quick introduction to parallels desktop
and I'll do that here in Windows 7 here
you see Windows 7 running in a Mac
window and this is the basic feature of
parallels desktop notice level of
integration we have here Windows cursor
Mac cursor Windows cursor Mac cursor
here's a file on my Mac desktop I want
to move that to Windows I can just drag
it over here and drop it in Windows that
file is now there I can open it happens
to be a PowerPoint file and I have
office 2013 loaded in this virtual
machine we have other things that would
make the in the integration between the
two OS is really smooth two of those are
the following one we give the user the
ability to use Mac gestures in Windows
application for example on the trackpad
if I now scroll by two fingers I can
scroll the PowerPoint slide I can zoom
by pinching this level of integration is
exactly what our users are the s4 they
want the Mac and the Windows
environments to behave together if you
have a Windows 10 virtual machine like I
do here you can do the follow
hey Cortana what's the exchange rate of
the Japanese yen one Japanese yen equals
zero point zero zero eight four US
dollars we passed the MAC location
services data to Windows also so on so
the Crotona can also do this hey Cortana
where am I
you're currently at Street in Bellevue
because we're on a Mac we can also
Cortana can also do some things that it
can't do on a Windows PC for example hey
Cortana launch pages Mac here's pages
Mac and even though I'm now using a Mac
application in this case pages I can
still use Cortana to retrieve data for
me hey Cortana what's the melting point
of mercury - thirty seven point eight
nine degrees Fahrenheit and then take
that information and paste it into my my
report so what does this mean to
developer well to a developer the
recently released parallels Desktop Pro
Edition as a number of features that
aren't needed by the average user and
gives the developer the ability to do
some development tasks really
efficiently and much much in a smarter
way
I'll show you those now the feature I
mentioned earlier network conditioning
enables means you could to throttle the
network connection of the virtual
machine and do things like introduce
artificially some network instabilities
to see how my app perhaps under those
conditions I'll do that in Linux
and I'll switch to the expanded form of
the control center and you'll see here a
number of buttons that aren't available
in the standard edition of parallels
desktop these buttons are developer
specific for example I can do a core
dump of virtual machine I can attach a
debugger to a virtual machine I can
access the web server running in a
virtual machine I can open up a shell
window to a virtual machine
we'll use the web server if I click on
this button here it will launch the
default web browser on the Mac in this
case Safari and connect to that virtual
machines web server and I'll patch you
running there and you see that it
renders that page almost instantaneously
let's close this window
empty the Safari cache and go back over
here to Linux and now condition that
Network what I'll do is turn that on and
I'll cut the network transmission speed
by a factor of 10 and I'll drop half the
packets on the network simulating a
noisy network connection and we'll see
how the app behaves under that's these
conditions so what happens now is
parallels desktop tears down that
network connection to that virtual
machine and then begins putting together
new one with the conditions that I
specified earlier and now we're
connected go back over here and open the
web browser and you see that it renders
much much slower much much slower there
we are
so with this ability I can simulate how
my app might be like would behave in a
network that's really noisy or network
that's really slow if I go back now
close this window
empty the Safari caches and go back over
here and turn off network conditioning
like this are now back it's a full speed
of the network and when I hit that web
button you see it goes back to rendering
instantaneously because parallels
desktop controls the external
environment
that these virtual machines are running
in we can do things like change the
network speed introduced in network
instabilities and give you a very
flexible environment to test your app
before you ship it so that's network
conditioning I won't need Linux for our
next demo so I will shut that down and
what I want to show you now is some
actual code development and debugging in
a separate virtual machine so I'm going
to launch Windows 7 with Visual Studio
already installed
and we'll launch Visual Studio and I
have here a very small console
application and you can see the source
code here
I've already set a breakpoint so on I
don't want to debug this in Windows 7 I
want to see how it behaves in Windows 8
so I'll launch a Windows 8 virtual
machine
and because it's a console app I'll go
to the desktop of Windows 8 parallels
desktop Pro Edition ships with a visual
studio plug-in and when you install that
you give this extra menu item in Visual
Studio and this enables me to run my
debugging in a separate virtual machine
in this case Windows 8 what like this a
connection is established the app is
moved over there the app begins running
you see now temporary variables are
listed here the call stacks here and
I've hit my breakpoint I can step over
that breakpoint run the app continue
around the app to completion and it
finishes the advantage of this are
several one if my app had crashed if I
was in the same virtual machine where I
was doing my development I might have
lost some development work but being in
a separate virtual machine even if it
crashes that OS I've lost no work on my
development environment and that's great
plus I've just tested my app in Windows
8 what if I want to now test and other
versions of Windows Windows says 10
windows 7 even Windows XP I can do that
very efficiently with this environment
setup now of course we're leveraging the
fact that Visual Studio has a notion of
remote debugging built into it we've
just made it much much easier to use and
to configure I don't have to know
anything about the IP addresses of
virtual machines I just use the menu
items so I hope you've enjoyed this
demonstration of parallels Desktop Pro
Edition and you can see the parallels
desktop running on a Mac gives a Windows
developer who's chosen to use Apple
hardware a very efficient and robust
environment for all the development
needs you can of course go to parallels
comm to get a trial version of parallels
desktop thank you very much
