I am using MPLAB X v1.30. I set the internal oscillator as MCU source clock by setting FOSC = INTOSC_HS. According to datasheet of PIC 18F4550 the default internal oscillator frequency is 1MHz, and that can be changed by setting OSCCON <6:4>. I changed the frequency (8MHz) at start of my main program, but found by soft simulation in MPLAB X that the source frequency was not changed. The source frequency remain the 1 MHz.
Any Body know about it.