• AVR Freaks

Breakpoints broken

Author
vsimkus
Starting Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2011/10/30 09:11:57
  • Location: Louisiana
  • Status: offline
2011/12/30 17:04:03 (permalink)
5 (1)

Breakpoints broken

Hello

I imported a MPLAB 8 project into MPLABX v1.0.  Everything seems to be working - building, programming the chip, etc.  

The problem is that the breakpoints don't seem to be working.  Every single one becomes "broken".  In the breakpoints window the message is "Not resolvable to a valid memory address".  They don't  work in any function including the "main" function.

I tried putting the source file in the main project directory as per a quick Google search, but that didn't change anything.

My setup:
  - Win7 64
  - PicKit3
  - MPLABX v1.0
  - PIC24FC32KA302
Thanks
Vic
#1

11 Replies Related Threads

    Tasso
    New Member
    • Total Posts : 7
    • Reward points : 0
    • Joined: 2008/09/10 08:22:06
    • Location: 0
    • Status: offline
    Re:Breakpoints broken 2012/02/06 08:51:34 (permalink)
    0
    Same Problem here. My Setup: - WinXP (SP3) - ICD3 - MPLABX v1.0 - PIC24HJ256GP610 Thanks Tasso
    post edited by Tasso - 2012/02/06 08:54:47
    #2
    Hsee
    New Member
    • Total Posts : 14
    • Reward points : 0
    • Joined: 2012/01/19 06:47:59
    • Status: offline
    Re:Breakpoints broken 2012/02/06 09:00:37 (permalink)
    0
    http://www.microchip.com/forums/m630561.aspx

    same problem discussed here...


    i also opened ticket in technical web-support system.... but no answer.
    post edited by Hsee - 2012/02/06 09:04:52
    #3
    Brahma
    New Member
    • Total Posts : 5
    • Reward points : 0
    • Joined: 2012/02/08 02:05:42
    • Location: 0
    • Status: offline
    Re:Breakpoints broken 2012/02/08 02:56:02 (permalink)
    0
    Same Problem, but only in some projekts. My Setup: - WinXP (SP3) - STARTERKIT USB - MPLABX v1.0 - PIC32MX795F512
     Thanks Brahma
    #4
    drazen
    Super Member
    • Total Posts : 2847
    • Reward points : 0
    • Joined: 2003/11/07 12:43:09
    • Location: Croatia
    • Status: offline
    Re:Breakpoints broken 2012/02/08 06:40:58 (permalink)
    0
    I again raise question: how is possible that Microchip releases MPLAB X fully untested where basic functionality does not work?

    Link to my thread: http://www.microchip.com/forums/m632229.aspx

    Take a look at this one: http://www.youtube.com/watch?v=3YUvlrVlNao&feature=related
    #5
    AndrewLeiper
    New Member
    • Total Posts : 7
    • Reward points : 0
    • Joined: 2003/11/07 12:43:22
    • Status: offline
    Re:Breakpoints broken 2012/03/01 11:00:49 (permalink)
    0
      I was getting the same problem with a single PIC16F1827 asm file in MPLABX V1.10. Any breakpoint whether using the ICD3 or the simulator was listed as broken. The asm file was in the folder above the project folder. I removed the asm from the project, copied the asm file into the project folder and then added it into the project. Problem solved ! Hope that helps someone. Andy.
    #6
    JMH08
    Super Member
    • Total Posts : 440
    • Reward points : 0
    • Joined: 2008/02/11 14:19:16
    • Location: 0
    • Status: offline
    Re:Breakpoints broken 2012/03/02 13:07:54 (permalink)
    0
    We have identified a problem similar to the one described here. The cause of the problem has to do with file names being slightly different in MPLAB X's internal project list than the actualy name of the file in the project. In our instance it was Main.c versus main.c (upper case versus lower case). Removing the file from the project and readding it, as AdrewLeiper suggests, causes our internal list to be updated with the proper information and fixes the problem. Please try this for now. A fix is currently uderway and will be available in version 1.20
    #7
    scroteau
    New Member
    • Total Posts : 18
    • Reward points : 0
    • Joined: 2008/11/07 08:25:31
    • Location: Woodstock, CT
    • Status: offline
    Re:Breakpoints broken 2012/03/28 08:00:17 (permalink)
    0
    Having same problem. To fix I had to create a new project from scratch. I tried removing and reloading file - no help. I removed all headers and sources files and reloaded them all - no help. Closed project, closed MPLab X, & relaunched - no help. MPLAB X 1.10 Real ICE PIC30F6012a Windows XP SP2
    #8
    Ken Kavanagh
    New Member
    • Total Posts : 8
    • Reward points : 0
    • Joined: 2012/04/12 10:51:40
    • Location: 0
    • Status: offline
    Re:Breakpoints broken 2012/04/18 14:22:19 (permalink)
    0
    Just installed MPLab X 1.10.  I have a dependent library "commonlib".  If I set the break point first, then debug, the breakpoints are broken. If I set a breakpoint in the primary project (aka app) on a lib function, then step into it, I can then click on the broken BP until it turns into a 'not broken' BP. the bp then works as expected until I stop debugging. It will be broken again on subsequent runs.
    #9
    Guest
    Super Member
    • Total Posts : 80500
    • Reward points : 0
    • Joined: 2003/01/01 00:00:00
    • Location: 0
    • Status: online
    Re:Breakpoints broken 2013/03/17 09:12:17 (permalink)
    0
    Same problem here with MPLAB X v1.10, running a PIC16FKA102 with the C30 compiler. My previous enthusiasm for Microchip seems to have been overrated...
    #10
    JMC
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2012/09/18 04:57:09
    • Location: 0
    • Status: offline
    Re:Breakpoints broken 2013/07/26 06:38:41 (permalink)
    +1 (1)
    Same problem with an old MPLAB IDE tested and migrated to MPLABX

    My setup:
      - Win7 64
      - ICD3
      - MPLABX v1.85
      - dsPIC30F401
     
    I tried to change the encoding of the ISO file, I checked the CRLF at the end of each line, as the end of file

    I tried to migrate MPLAB IDE v8.7 *.C  source file in a new project on MPLABX
    I wrote methodically every bit of  configuration with their mnemonics
    I've tried every combination of IDE debug tool in daschboard
     
    and look all the treads on the forums
     
    But where is the solution ??????????
     
    (I'm trying to compile with the original ASM instead  of X16, hoping that the program lines Breakpoints found ( don't loss?) the corresponding memory adress on MPLABX environnement )
    but I'm tired  'to try' to make MPLABX working  without a begining of a solution.
     
     
     
     
     
    #11
    Serafino Convertini
    Starting Member
    • Total Posts : 82
    • Reward points : 0
    • Joined: 2015/04/15 03:30:48
    • Location: 0
    • Status: offline
    Re: Breakpoints broken 2015/10/01 01:08:15 (permalink)
    0
    I fixed this problem deleting the spaces in the project directory.
    If the directory of the project contains one or more spaces, this may cause some problem like this one.
    Try this and tell me.
    Bye
    #12
    Jump to:
    © 2019 APG vNext Commercial Version 4.5