memory access violation with vec2f

About Monkey 2 Forums Monkey 2 Development memory access violation with vec2f

This topic contains 3 replies, has 3 voices, and was last updated by  Mark Sibly 2 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2961

    AdamStrange
    Participant

    Mark, this was brought to me and confirmed with both ted21 and ted2, so I am assuming it is a proper bug:

    The offending line is found in Frameset:

    #2962

    gcmartijn
    Participant

    No AdamStrang,

    You asked for a code that crashes ted21 editor, so that’s why I gave you that code.
    I know how to solve that error in that script I gave you, because I asked that here a week ago.
    http://monkey2.monkey-x.com/forums/topic/new-vec2f-not-working-inside-new-constructor/

    Ted21 crashes the second time when I run a “error generated script” after not stopping the debug process (red button, in debug view) first.

    Even when you use debugStop() in a good working script.

    I test it now it the original ted2 and it does the same.

    #2963

    AdamStrange
    Participant

    mmm, so it’s not the script it’s mx2cc behaviour? I’m not sure if that’s a good/fair test or not?

    I will agree that it is an error that isn’t being caught, but it’s not the editor that is at fault – I might be wrong on this though?

    #2964

    Mark Sibly
    Keymaster

    This is working here in the latest Ted2, ie: the debugger catches the error, highlights it, stops when you hit ‘stop’, and works again and again.

    I have tweaked the guts of DebugView a bit so I may have fixed something along the way…

    New stuff should be up tomorrow or Monday – just want to give everything a bit of a thrashing first.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.