Debugging legacy ASM in MPLAB X 5.35

6 views
Skip to first unread message

David VB

unread,
Mar 3, 2026, 8:04:14 AMMar 3
to jallist
Hi,

I wrote a program in JAL for a PIC16F1768.
It compiles without errors.

I now want to debug the ASM file.   
PIC16F1768 is not supported by MPLAB 8.92, so, I have to use MPLAB X 5.35 (last version to support the legacy ASM syntax)

I create a new project, add the ASM file, build it for debugging without errors and want to debug it using the embbeded simulator.

I can run the program, step by step if needed, but I cannot watch any variable (Example: Right-click on a variable, and Add to watch).    Besides, the Variables tab should display all variables immediately after loading the program, which is not the case here

What is weird is that in the Dashboard window, it appears that my compiled program has code, but 0 byte of data (see attached)

Any idea ?
How do you do to debug (in a simulator) ?

Thanks

David
Capture d’écran 2026-03-03 135927.jpg

Mike

unread,
Mar 4, 2026, 3:35:41 PMMar 4
to jallist
Hi David,

I don't have an answer, but I'll bet the helpful people on the Microchip forums know a lot about this.

Regards,
Mike
Reply all
Reply to author
Forward
0 new messages