You can work with MPLAB 8.20 and latest 8.30 but it will have some serious limitations about the debugger MPSIM, not sure for PICKIT 2.
For PIC18, you need to add the linker file. In your case 18F4550.lkr to your project.
And then you go to, Project> Build Option > Project PicBasic Pro tab. There you select Use MPASM assembler and Use Linker /COFF debugging. Not much. BUT it will sucks, you can't monitor your variable, but only some PIC registers.
Not a so easy task to create reliable COFF files.... even if the reference book for it is quite small 
Finally mpswitch seems to suffer a little bit with the latest release, so it's not a viable option yet (well last time I tried it)... If you only use PBP in MPLAB, there's no real advantage to use the latest 8.20 or 8.30 version.
Last edited by mister_e; - 1st April 2009 at 04:42.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks