News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

Positron Studio Not Showing Line Errors Code

Started by Aries_Ryan, May 02, 2026, 11:04 PM

Previous topic - Next topic

Aries_Ryan

I have The Positron Studio was installed in my PC.
I see my code have an errors during I did Compiled, but there Not Showing Line Errors Code, which code does given an errors.

I checked on Tools and Tab on General, I did'nt see where is check list to given me information once the code given an errors.

As well this Show Line Errors appears, then this easy to see and fix it.

My Positron Studio was installed to my PC is License.

Please provide me some information, how to fixed this happen.


Thanks,
ARyan.


top204

Remember... The IDE is not the compilers, it is a method of creating the code listing that is passed to the compilers and then signals what the compiler has returned. i.e. Error or OK.

Try the IDE that was installed with the compilers to see what the error message is. Or find the ".pbe" file that the compiler produces after a compilation, and it will either contain the OK message and the amount of flash and RAM used, or give the error messages that the IDE should report.

For example, a ".bas" file named "MyProg.bas", will produce a ".pbe" file named "MyProg.pbe", in the same directory as the ".bas" file.

There are some fundamentally low level errors that will not produce a line number for the error, and give a generic "Line 1" instead, but it will give a message text.

Regards
Les

Stephen Moss

Quote from: Aries_Ryan on May 02, 2026, 11:04 PMI see my code have an errors during I did Compiled, but there Not Showing Line Errors Code, which code does given an errors.
If you are using the Positron Studio IDE there should be a (information?) frame located at the bottom of the IDE under the main code window with three tabs (Messages, Version & Archives) when you compile it should automatically select the Messages tab and you should get messages that looks something like this...

Quote>Error at Line [91]  In file [C:\Users\sgm23\Dropbox\PDS\741_test.bas]    *** Item ' gdghj ' not found! ***
Compilation Failed
Unable to create new Assembler or Hex file

if it is a coding error, but for some other errors there is no line number to give as in the example below

Quote>No Xtal declare used in the program so the compiler does not know what frequency the device is running at
Compilation Failed
Unable to create new Assembler or Hex file

If you are not seeing that frame there are three possibilities that immediately come to mind...
  • A major issue with the IDE, unlikely but possible, try uninstalling, reboot & re-install.
  • The default minimum size of the IDE window is larger than the resolution of your monitor and it off the bottom of the screen or
  • The frame is vertically resizable, you may have inadvertently reduced its size so that is is now hidden by the Windows taskbar, one possible sign of that would be the Code and Fuses tabs under the bottom right corner of the main code window (frame) being located immediately above the Windows Taskbar.

For items 2 & 3, if the Maximise/Unmaximise toggle icon on the IDE's menu bar button is set to maximise, setting it to unmaximise may make the IDE window small enough that you can then see the Information frame located at the bottom of the IDE window.