MicroCodeStudioPlus keeps crashing.


Results 1 to 40 of 68

Threaded View

  1. #32
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: MicroCodeStudioPlus keeps crashing.

    No. Just when exception is catch, you can get detailed description about it. You can convert it to string, and then display in msgbox with some custom info. Eg I put name of subroutine, etc...
    This is VB .Net code:
    Code:
    Public Class Form1
    
        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            Dim i As Integer, x As Integer = 1, y As Integer = 0
            Try
                i = x / y
            Catch ex As Exception
                MsgBox(ex.ToString, MsgBoxStyle.Critical, "Button1")
            End Try
        End Sub
    End Class
    Result when I click on button:
    Name:  Untitled.png
Views: 1451
Size:  17.1 KB

    If they add something like this in MCS error should be located.
    Then they can just ignore it, or something, but main goal should be that all work is saved, before it crash.
    Eg they can just put few lines of code to create backup of all open files, to some location. Or to check on start up is there backup, and to ask user what to do, Restore from it, ignore, or what ever.
    Last edited by pedja089; - 11th February 2018 at 23:48.

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