CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

MPLAB X no green line for debug step by step.
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Thu Mar 02, 2023 4:41 am     Reply with quote

Actually though, I don't think the plug-in comes into this at all.
Just tried an experiment, took a built project, and transferred it onto a
machine with MPLAB X installed. You can debug, without the plug-in
existing. Debug is a purely MPLAB thing, only dependant on the compiled
results, not on the compiler.
I've got 6.03, and it is merrily displaying the green highlight OK.
temtronic



Joined: 01 Jul 2010
Posts: 9081
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Thu Mar 02, 2023 6:48 am     Reply with quote

so...
either the bug appears in 6.04 or 6.05 !!
that narrows the list down !!!
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Thu Mar 02, 2023 7:23 am     Reply with quote

Or it could be 6.05/W11. I am using a W10 machine.
bschriek



Joined: 18 Dec 2007
Posts: 76

View user's profile Send private message Send e-mail

PostPosted: Thu Mar 02, 2023 8:37 am     Reply with quote

This is the comment of :Support@ccsinfo.com.

If this is the debugger inside MPLAB then you need to contact Microchip. The compiler just supplies the .cof file with debug information in it. The debugger operation is all Microchip.
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Thu Mar 02, 2023 8:40 am     Reply with quote

As I said, the compiler is not involved in the debug at all.

I've just let 6.05 install into the test machine I was using.
Ran debug on the test project I had previously copied in, and it merrily
worked, and had the cursor. Red when at a breakpoint, and green when
stepping.
Only difference, this is on W10.
mwbitsz



Joined: 14 Jul 2023
Posts: 2

View user's profile Send private message

Re: MPLAB X no green line for debug step by step.
PostPosted: Fri Jul 14, 2023 5:25 am     Reply with quote

I have the same problem with debugging.

My environment:
Windows 10 Pro
MPLABX 6.10
CCS C 5.115 (purchased)

Symptom:
Program stops and variables in the watch window are also displayed correctly and e.g. counted up.
But you can't see where the program is in the source code.
In addition, no local variables are displayed in the Variables window (except those of "Watch").

Now I noticed that exactly at the moment of the breakpoint an exception appears in notifications:

Code:
java.lang.UnsupportedOperationException: Not supported yet.
at com.microchip.mplab.mdbcore.program.DebugInfo.sourceLinesFromAddress(DebugInfo.java:632)
at com.microchip.mplab.mdbcore.translator.Translator.addressToSourceLine(Translator.java:780)
at com.microchip.mplab.mdbcore.translator.Translator.addressToSourceLine(Translator.java:748)
at com.microchip.mplab.debugger.mdb.MdbDebugger$8.run(MdbDebugger.java:3747)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
bschriek



Joined: 18 Dec 2007
Posts: 76

View user's profile Send private message Send e-mail

PostPosted: Fri Jul 14, 2023 6:46 am     Reply with quote

My advise, use an older version of MPlab.
For example MPLAB X IDE v5.30. This works fine.

I was contacted by both CCS and Microchip to find the problem.
I spent a LOT of time but it's not my problem to solve this for these people.

So again, use an older version. You can find the older versions at their website too.
Succes,
mwbitsz



Joined: 14 Jul 2023
Posts: 2

View user's profile Send private message

PostPosted: Fri Jul 14, 2023 7:54 am     Reply with quote

bschriek wrote:
My advise, use an older version of MPlab.
For example MPLAB X IDE v5.30. This works fine.

I was contacted by both CCS and Microchip to find the problem.
I spent a LOT of time but it's not my problem to solve this for these people.

So again, use an older version. You can find the older versions at their website too.
Succes,



Thank you bschriek!

I made the effort to test some MPLAB X versions (compiling + debugging in IDE):

  • MPLABX 6.10 (2023-05-16)
    • with CCS Plugin 3.14: does not work
    • with CCS Plugin 3.15: does not work
  • MPLAB X 6.05 (2022-10-28)
    • with CCS Plugin 3.14: does not work
    • with CCS plug-in 3.15: does not work
  • MPLAB X 6.00 (2021-12-22)
    • with CCS Plugin 3.14: **works**
    • with CCS Plugin 3.15: **works**
  • MPLABX 5.50
    • with CCS Plugin 3.14: **works**
    • with CCS Plugin 3.15: **works**


Remarks:
pchupd.exe doesn't install an MPLAB X plugin (anymore) for me!

CCS Plugin 3.14 from MPLAB "Available Plugins"
CCS Plugin 3.15 from setup_mplabx_plugin.exe; today's download from CCS site
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group