View previous topic :: View next topic |
Author |
Message |
Ttelmah
Joined: 11 Mar 2010 Posts: 19358
|
|
Posted: Thu Mar 02, 2023 4:41 am |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
temtronic
Joined: 01 Jul 2010 Posts: 9168 Location: Greensville,Ontario
|
|
Posted: Thu Mar 02, 2023 6:48 am |
|
|
so...
either the bug appears in 6.04 or 6.05 !!
that narrows the list down !!! |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah
Joined: 11 Mar 2010 Posts: 19358
|
|
Posted: Thu Mar 02, 2023 7:23 am |
|
|
Or it could be 6.05/W11. I am using a W10 machine. |
|
![](templates/subSilver/images/spacer.gif) |
bschriek
Joined: 18 Dec 2007 Posts: 76
|
|
Posted: Thu Mar 02, 2023 8:37 am |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah
Joined: 11 Mar 2010 Posts: 19358
|
|
Posted: Thu Mar 02, 2023 8:40 am |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
mwbitsz
Joined: 14 Jul 2023 Posts: 2
|
Re: MPLAB X no green line for debug step by step. |
Posted: Fri Jul 14, 2023 5:25 am |
|
|
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) |
|
|
![](templates/subSilver/images/spacer.gif) |
bschriek
Joined: 18 Dec 2007 Posts: 76
|
|
Posted: Fri Jul 14, 2023 6:46 am |
|
|
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, |
|
![](templates/subSilver/images/spacer.gif) |
mwbitsz
Joined: 14 Jul 2023 Posts: 2
|
|
Posted: Fri Jul 14, 2023 7:54 am |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
|