Menu

OSX & Parallels Visual Studio Debugging – F11 / F12

May 11, 2013 - Geek Bits, OSX, Parallels
OSX & Parallels Visual Studio Debugging – F11 / F12

If like me your using Parallels on a mac for your development you’ll find that debugging can be a pain in the ass.  Lots of the keyboard shorcuts you use on a regular basis in Windows needs a bit of configuring in OSX in order to get them to work correctly.

I use the function keys a lot so the first task is to get the function keys to work as function keys, this will be applied in OSX as well as any VMs you’re running.

In OSX go Apple -> System Preferences -> Keyboard and select the Keyboard page, make sure the following option is checked:

“Use all F1, F2, etc. keys as standard function keys”

With that option set all the nice little Apple functions need to be accessed using “fn + F8”, the default is great for casual users and pain for anyone else.  Anyway …

Next you need to remove the default functions for the F11 and F12 keys so that OSX doesn’t “intercept” the key press and do it’s function rather than letting that make it’s way to Parallels and then consequently your Windows Vm.  So swith to the “Keyboard shortcuts” page and make sure the following two options are deselected:

“Show Desktop – F11”

“Show Dashboard – F12”

Now you should be able to use these keys as you would F11 and F12 in Windows.  Yay.  I don’t understand why F12 is still mapped by default to show the dashboard in OSX considering it’s fairly unused these days.

Anyway, happy debugging!

Share

15 thoughts on “OSX & Parallels Visual Studio Debugging – F11 / F12

avatar
Pat

My god…thank you for this helpful post! I’ve searched everywhere on Parallel Desktop forum and VS developers were complaining everywhere about this problem. Using VS.NET without the F11 and F12 keys is like hoping on one leg trying to run a mile! Was starting to feel hopeless until I found your blog.

This work beautifully for me running VS.NET 2013 and Parallel Desktop 8.0!

Reply
avatar
jammer

Glad it helped.

Reply
avatar
Matt

I have to agree with Pat above. THANK YOU. The pain of debugging without this change got to me that I went search and quickly found you post and am now a very very happy coder. 🙂

Reply
avatar
jammer

Matt, no problem chap! Glad it helped, drove me crazy so decided to nail it.

Reply
avatar
CSDing

Thanks a lot. You save my day. I have been searching around for a few hours for this.

Reply
avatar
jammer

Great, glad it’s helping folks.

Reply
avatar
Ray

I just got my first Mac and this post is very helpful and for a while I thought nobody had put out anything for this info, but you had us covered and thank you!

Reply
avatar
jammer

Hey Ray!

Glad it helped! Also, nice work on f12 … bookmarked.

Reply
avatar
TR

Thanks! This has been killing me.

Reply
avatar
Cristian

Thanks for sharing! 🙂

Reply
avatar
Tom Mathias

Thank you!

Reply
avatar
Felipe

Thank you so much for this!

Reply
avatar
Nacho

Wow!!! Thanks a lot, I’ve been searching the net and this is the real answer.

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*