Giter Site home page Giter Site logo

armadebugengine's Issues

Request: dump callstack on `params` error

Currently ADE does not dump a callstack when params throws an error like this one:
9:16:33 Error Params: Type Array, expected Object
I think it's critical to dump call stack in that case like on any other error.

Suggestion: onScriptError

Hi!

Since you've asked, I'm making an issue.

Suggestion: add an SQF command: ADE_onScriptError code, which would call my code passed to it on a script error.

It should pass information about the script error to the callback, such as: file, line number, error text, and the callstack itself in string or array form.

Further things to think of: should it be stackable? What if we register the same code variable multiple times?

Request: halt now

Immediately halt on current instruction.
Relies on #5 or it won't be useful.

Request: missionNamespace in chunks

This can be massive, even just getting the name list takes a few seconds on a small new game (I didn't try on a large in progress one yet!).
I suggest:

  • the namespace is always returned alphabetically sorted
  • ability to request the number of items in it, without returning the items
  • ability to request a slice of the items instead of all of them (perhaps with values as well)

Request: validate breakpoint

Right now I am consciously peppering the code around where i want to stop with breakpoints as they aren't validated as actually correct.
Getting a return from the Set Breakpoint command with the nearest appropriate location (+code snippet/whatever context is available for validation) would be perfect.

ArmA crashes when stopping at a breakpoint if hashMaps have been created

When debugging a SQF script that has a created hashMap saved as a variable, ArmA 3 will crash (divide by 0 exception) if you stop/step the program past the first variable that saves a hashMap.

Using the current steam workshop version and mod based script files. Have not tested on mission file based scripts.

Request: thread list, and thread id for each event

All scheduled scripts (I guess only running ones? All might be useful with state like started/not started or something), and I guess an unscheduled thread "main"?
Stack info should have associated thread IDs on it, and I should be able to request the stack for any thread by ID, including local variables etc.

Request: set value of variable

Globals, locals/stack variables (with associated stack frame ID I guess?), namespace variables.
Need only work when halted of course.

Request: keep casing

Would be better for usability if case of all identifiers and paths was maintained.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.