Ok, so I am doing some tests (light some LED's) with this microcontroller before making my application with it. The problem I am having is that using RA4, RA3, RB0, and RB1 as inputs, and everything else as outputs. RB4, and RB5 specifically (haven't tested the others) have issues. When I press the button for one of the inputs, it pulses the LED's fine on the development board (EasyPIC4) and stops when I release the button as it's written this way in the code. When I move this to the breadboard, there seems to be a small leakage of current when I release the button to stop the pulsing.

I am beginning to think it's a problem with the interupts but the datasheet states they are disabled on reset. Below is the beginning of my code.

'INITIALIZE
@ DEVICE INTRC_OSC_NOCLKOUT, MCLR_OFF, WDT_OFF, BOD_OFF, PWRT_ON
PORTA = %00000000
PORTB = %00000000
PORTC = %00000000
ANSEL=0
ANSELH=0
ADCON0=0
CM1CON0=0
CM2CON0=0
VRCON = 0
TRISA = %11111111
TRISB = %11111111
TRISC = %00000000

I initalize the ports first because in the mid-range MCU reference manual it states
Note: It is recommended that when initializing the port, the data latch (PORT register)
should be initialized first, and then the data direction (TRIS register). This will eliminate
a possible pin glitch, since the PORT data latch values power up in a random
state.

Any thoughts?