GithubHelp home page GithubHelp logo

thorgeirk11 / rex-diagnostics Goto Github PK

View Code? Open in Web Editor NEW
96.0 11.0 7.0 16.83 MB

Unity extension that enables expression evaluation at runtime to facilitate testing and debugging.

License: MIT License

C# 100.00%
unity-editor unity3d extension debugging-tool relp

rex-diagnostics's People

Contributors

sugoidev avatar thorgeirk11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rex-diagnostics's Issues

Editor freezes on play after using REX

There is an issue where unity gets stuck on play when rex has been used.

How to reproduce it:

  1. Write any expression into REX window ( I usualy just go for "x = 1+1" ) and evaluate.
  2. At this point you have rex up and running with out any issues.
  3. Now stop unity and then play again.
  4. Unity should now be frozen.

Get exception from unity

Sometimes I manage to get unity to throw an exception and crash.
5. Open up visual studio and attach to unity. (While it is frozen)
6. Hit "Break ALL" button, which should break the current execution.
- Note: I can't see where the execution was stopped, since it's in C++ space.
7. Un-pause execution, (AT this point Unity throws the error, sometimes)

I have made an bug report to unity:
https://fogbugz.unity3d.com/default.asp?786416_4sqa2dh0vs9s0dtu

Reporducable on Unity versions:

  • 5.4b21
  • 5.3.5f1

Display: Optional parameters in code completion

Optional parameters in code completion

The following should display starCount = 0

int SetUnlockLevel(int unlockLevel, int starCount = 0) { ... }

However this is what is displayed:
image

Here is the code in VS:
image

Automatic Scope Detection

A current limitation is that the user has to select which using statements the window should be using.

This can be a pain since it is not easy to know the scope of things.

"Timeout on compiling expression" error

Any expression I type just gives that error. I've check that I can reproduce the error just cloning this repo, opening the project in unity, and trying to evaluate a simple expression, like UnityEngine.Debug.Log("test") or GameObject.Find("Main Camera")

Using OSX 10.11.4 and Unity 5.3.3f1

Syntax errors when importing plugin in 2018 Unity

General
2018th Unity needed assembly definitions for unit test scripts and all playmode tests cannot be compiled because of broken references to NUnit libraries.
Achieved in Unity version: 2018.4.6f1 (LTS)

STR:

  1. Clone repository
  2. Copy all files from REX-Diagnostics\RexWindowProject\Assets to some folder inside exists project
  3. See syntax errors in log
    image

Expected: Normal script compiling without errors

Way to fix:
Need to add 2 assembly definitions in projects - one for tests and one for all another
image

Tests assembly definitions need to be marked as Test assembly and referenced with main assembly definition
image

Ctrl + V pastes the content twice.

I'm using this amazing asset on Unity 2018.4.10f and when I paste something in the eval field it paste twice?

Is that related to this asset or a unity bug? It never happens anywhere else.

See this gif.

paste-issue

Autocomplete is case-sensitive

Because of the case-sensitive autocomplete it it easy to type a character with wrong case, so autocomplete list disappears.
This slows down typing speed.

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.