Menu

Verbose mode doesn't work

jackjames
2023-12-04
2023-12-07
  • jackjames

    jackjames - 2023-12-04

    I installed the latest version (Version: 1.76.2
    Release: 23074
    Date: 2023-03-15T18:36:59.657Z) and I noticed that verbose mode doesn't work correctly.
    The "/V" command is present but the compilation still does not insert comments.
    From the IDE I couldn't find the way to insert the "Verbose mode" and so I manually inserted the "/V" in the batch and json files.
    I also set up Verbose with settings.exe.
    I attach two files with the compilation performed previously and the current one.

     
  • Anobium

    Anobium - 2023-12-04

    Should work.

    We do not use any of the batch files from GCCode IDE. The file USE.INI is used and this should be edited using the Preferences Editor. The second tab ( Compiler ) has the Verbose check box.

    Please revert the json file and use the Prefs Editor.

     
  • Anobium

    Anobium - 2023-12-04

    But, looking at your ASM... are you looking for the original source in your ASM ? that is not Verbose.

    To set so you get the original source in the ASM.

    When using GCCode as the IDE
    Select Terminal/Run Task or press function <F4> to see the menu
    Type edit. Edit Preferences will be shown. Press enter or click.
    You will be shown Preferences 3.05 ( at Dec 2023 ).
    Select the Compiler tab,
    Select Show GCBASIC source program as comments in Assembly.
    Select OK.

    In the recent build the ASM header now shows Helper Information as follows:

    ;Program compiled by GCBASIC (1.01.00 2023-11-23 (Windows 64 bit) : Build 1308) for Microchip MPASM/MPLAB-X Assembler using FreeBASIC 1.07.1/2023-11-25 CRC29
    ;Need help? 
    ;  See the GCBASIC forums at http://sourceforge.net/projects/gcbasic/forums,
    ;  Check the documentation and Help at http://gcbasic.sourceforge.net/help/,
    ;or, email us:
    ;   w_cholmondeley at users dot sourceforge dot net
    ;   evanvennn at users dot sourceforge dot net
    ;********************************************************************************
    ;   Source file    : C:\Users\admin\Downloads\NTC.gcb
    ;   Setting file   : C:\GCstudio\gcbasic\use.ini
    ;   Preserve mode  : 2
    ;   Assembler      : "C:\Program Files\Microchip\xc8\v2.45\pic-as\bin\pic-as.exe"
    ;   Programmer     : 
    ;   Output file    : C:\Users\admin\Downloads\NTC.asm
    ;********************************************************************************
    

    The Preserve mode : 2 tells me that Show GCBASIC source program as comments in Assembly was selected.

    Preserve mode : 2 is derived from the USE.INI. Preferences Editor simply edits USE.INI. In the new Helper Information is also shows the specific parameter file passed to the compiler, specifically in this case Setting file : C:\GCstudio\gcbasic\use.ini.


    So, what is shown in your ASM Helper information?
    Update GC Studio recently to get the new ASM Helper information capability?

    And, I do hope these insights on the ASM Helper information helps us going forward.

    :-)

    Hope this information helps.

     
    • jackjames

      jackjames - 2023-12-04

      Thank you for your availability.
      I solved the problem.
      GC Studio has already been updated to the latest release.
      A curiosity:
      I noticed that the download speed of the update has dropped significantly and it takes over an hour to download.
      Let me start by saying that I have FFTH fiber and that with other sites the speeds are completely different.

       
      • Anobium

        Anobium - 2023-12-04

        How did you solve the issue ? Others may benefit in the future.


        Re downloads. I do not know.

        @angel-spartan - seems slow. Is this a demand/scaling issue?

         
        • jackjames

          jackjames - 2023-12-05

          I solved the "verbose mode" problem with your advice.
          For download speed there was no way to fix it.

           
          • Anobium

            Anobium - 2023-12-06

            Thank you.


            Re Download speed. I just did a 'force update' it took 4 mins to redownload everything. Yes. I use the same process to maintain my development computer. :-)

            It could be that the server is now not busy, or, something has changed.

            @angel-spartan - where/what are the servers ? can we replicate for performance and resilience ?

             
  • Angel Mier

    Angel Mier - 2023-12-07

    Download Speed:

    On my side it took only 18 seconds to do just the download of the update.

    Server Location:

    At first, I believed the servers were located in the UK because the provider GCbasic uses have data centers there and the contract was made there. But upon further investigation of the traceroute, I find that the provider uses a datacenter located on Phoenix Arizona in the USA, property of phoenixNAP (https://phoenixnap.com/).
    https://ipgeolocation.io/ip-location/198.54.116.155
    https://maps.app.goo.gl/933WT5KoeMwCa3H56

    Additional reading from both companies, the provider and the datacenter confirmed my findings.
    https://phoenixnap.com/company/customer-experience/namecheap
    https://www.namecheap.com/support/knowledgebase/article.aspx/136/22/where-are-your-datacenters-located-how-can-i-request-to-change-the-datacenter/

    Also, while looking for that I came across an IP and a test file provided by phoenixNAP to test traceroute and downloads. This can help us in the future to do further testing.
    Test IP:
    184.95.56.34
    Test Download File (1GB):
    https://speedtest.phoenixnap.com/phx-1gb.test

    Our Servers are on a shared service, and this isn’t going to change unless we have a ton of cash to throw out the window, also we didn’t have a huge demand where this service could have issues (We dont need a change, the service has good avavailability and a variety of protections), so most probably the bottleneck will be last mile internet providers or some temporal issues on country-to-country backbone net.

    So, I have to offer a real resolution, right? right? :-)

    Yes, on next update I have scheduled a purge of the update packages, this will lean the mainstream and dev channel and make the updates faster (with the sole exception of the win7 update channel that because of technical reasons I can’t lean it more)

    Angel.

     
    👍
    2

    Last edit: Angel Mier 2023-12-07
    • Anobium

      Anobium - 2023-12-07

      @angel-spartan - I am impressed. You are correct re contracting and the mega cost of a standalone server.

      Looking forward to the planned changes !!!

       

Log in to post a comment.