Unable To Start Debugger: Visual Studio 2008

If, by chance, you’re like me and recently installed Visual Studio 2008 onto a 64-bit version of Windows, you may be getting the following error when you attempt to debug an application:

The components for the 64-bit debugger are not registered. Please repair your Visual Studio 2008 Remote Debugger installation via ‘Add or Remove Programs’ in Control Panel.

The reasoning behind this error is discussed here. In short, because VS2008 is still a 32-bit process, it cannot directly attach itself to a 64-bit application (.NET defaults to 64-bits when you’re on a 64-bit OS). As such, VS2008 needs to use the remote debugger to bridge the 32/64-bit gap. Unfortunately, this feature isn’t installed by default! In reading the error message, you are lead to believe that this can be fixed by adding additional components from the VS2008 add/remove programs screen. However, in actuality, you’ll need to run a separate application (found in CD-DRIVE:\Remote Debugger\x64). After installing the 64-bit debugger, you should see this problem disappear.


Flex Tidbits

Just thought that I’d post some tidbits 2015 of knowledge that I’ve learned today:

  • To properly display multi-line ItemRenderers using one of Flex’s list-based controls, you need to set the list control’s "variableRowHeight" property setting to true.
  • If your ItemRenderer’s WordPress, size changes dynamically based for on the supplied content wholesale jerseys (ex: long blocks of text), you’ll need to override the default measure() cheap jerseys function Temizlik in order to set the ItemRenderer’s "measuredHeight" property.
  • To cancel internet an event from propagating, call the event’s "stopPropagation" function.

Sorry for the terse format, but it’s 1997 Friday and Held I’m burnt out cheap jerseys sitting here at work.


WordPress, IIS, and ISAPI Rewrite

One cheap jerseys of cheap mlb jerseys the cheap jerseys servers How that 9 I Chicago administer Changing is a traditional Windows Server 2003 box (ASP.NET, SQL Server, etc.). Recently, we decided to add a quasi-internal, CMS-like website to manage and track software projects. Since I’m a big fan of WordPress, I decided to attempt an install on IIS. Unfortunately, IIS doesn’t support mod_rewrite and thus pretty URLs. Luckily, following the steps below will fix that problem.

  • Install ISAPI Rewrite (free version available) and install it on your server
  • Modify WordPress’ permalink settings to fit your desired structure.
  • Have WordPress create an .htaccess file for you.
  • Copy WordPress’ .htaccess directive starting at the “RewriteBase” directive into ISAPI Rewrite’s .htaccess file
  • Modify the wp-settings.php file adding the following code somewhere around line 58 (before the preexisting IF statement):
    • if (isset($_SERVER[‘HTTP_X_REWRITE_URL’])) {
    • }

And voila!, you have pretty URLs with IIS.


Changing Mouse Cursor for Flex mx:Label

In cheap jerseys my cheap mlb jerseys current cheap jerseys Flex-based “Kids project, Alexandre I Arizona am creating several labels that act like hyperlinks but was having trouble changing the cursor type to the traditional “hand.”  After some moderate searching, I found out that you have to declare three properties:

useHandCursor = true;
buttonMode = true;
mouseChildren = false;

With these properties set, the mouse cursor will now change to a hand. Simple!.