I do not understand....
Ok, got some time to test "Aword Winning" MPLAB X after disaster called MPLAB X Beta 6.
I took very simple project and than confusion. Should I press "Build" or "Build for debugging"? I pressed "build for debugging", project builded but debugging controls grayed! What now, I have build for debugging! Oooo, I have another option "Debug main project".
Pressed, builded again and message:
User program running
No source code lines were found at current PC 0x220
User program stopped
Yeeeee, my debugger buttons are now not grayed! I set breakpoint on first line and
Break point at line 57 in file C:/...../proba.c cannot be resolved to a valid program memory address
Ok, "debug for debugging", reset and I got green arrow at main. Step over works! Right mouse click on first line -> Set PC at cursor -> NOTHING!
I selected simulator as debugger.
You know my next click? Exit program!
BTW, let me explain how this is done in MPLAB 8 or Visual Studio (or any other IDE): Build project (only one option not 5)Reset (if not selected to run to main)Any debuggin operation