MicroCodeStudioPlus keeps crashing.


Closed Thread
Results 1 to 40 of 68

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: MicroCodeStudioPlus keeps crashing.

    So, i was correct. They only need to put one try catch, in subroutine that is called for each key press.
    And sooner or later it will show it self with detailed description in MSG box.
    I'm 99% sure, that is sometimes expecting next letter or previous to be typed, but it isn't there.
    Does anyone notice patter if this happens to specific command or randomly?
    It also can be helpful if you notice that it crash while typing in middle of word, or if typing new word.
    Eg if you type ADIN, and want to add letter C, in middle of word.
    Now we just need source code to correct that
    EDIT:
    I think, for .net application you can actually get line number where error occurred.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: MicroCodeStudioPlus keeps crashing.

    From my experience, it tends to crash more when typing remarks, but then again, I document to death, so that's probably not relevant. I have seen it crash when typing commands of any kind, and even when NOT typing, which leads me to believe that it's not necessarily driven by user / keyboard / mouse events. From my own Windows programming experience, it is reminiscent of an array dimension error where something is reading or writing outside its defined array space, out of bounds. I agree that an overall error trap with diagnostic codes within the program is something that seems sensible if the author is serious about trying to narrow this down. For Windows to display the error instead, it seems to bypass any useful internal error trapping within the program.

    I have never programmed in Delphi, so I'm not familiar with the nuances of arrays, memory allocation, or error trapping, and my thoughts may be off base in that regard.

    Picster

  3. #3
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: MicroCodeStudioPlus keeps crashing.

    Quote Originally Posted by picster View Post
    ...I have never programmed in Delphi, so I'm not familiar with the nuances of arrays, memory allocation, or error trapping, and my thoughts may be off base in that regard.
    Picster
    I program with Delphi and access violations can occur (array overrun) for one. I use an add-on called madExcept as one of my debugging tools. Included in the crash report is usually the offending line number.

    Norm
    Last edited by Normnet; - 8th February 2018 at 23:36.

  4. #4
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: MicroCodeStudioPlus keeps crashing.



    The above error in Delphi is common on freeing an item of which cant be freed as not all items created by user can be simply freed by user.

    Norm

  5. #5
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default Re: MicroCodeStudioPlus keeps crashing.

    Trying to resolve an issue like this is like trying to find a needle in a haystack. I recently got a shiny new i7 laptop at work and installed all the programs I needed to do my job. The software I use for programming Mitel Phone Systems would lose connection to the system after around 1-2 minutes. Tried all the settings in the program, raised a ticket with Mitel Tech Support, disabled Antivirus and Firewall etc but still couldn't get it to stay connected.

    Finally I decided to uninstall all the pre-installed HP Bloatware. My Mitel Software now runs perfectly.

    I realise this isn't directly related to this thread but it may be worth considering.

    Keith
    Keith

    www.diyha.co.uk
    www.kat5.tv

Similar Threads

  1. Micro Code Studio Crashing
    By timmers in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 20th May 2017, 21:54
  2. Crashing 16F628 Code
    By hhaplant in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th March 2012, 10:40
  3. Crashing LCD
    By George in forum Off Topic
    Replies: 13
    Last Post: - 16th January 2012, 22:05
  4. pic program crashing
    By comwarrior in forum General
    Replies: 5
    Last Post: - 8th July 2009, 17:33
  5. Crashing program
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th April 2006, 03:57

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts