Literally nothing happens when I press "run"

And yes, I've tried everything on here

When I press "run" the button turns teal and then nothing happens. I am using the latest version of processing on windows 10.

Answers

  • Can you please post your code?

  • int[] memory = new int[65536]; //Note: Last 36 parts of memory are used for registers & things
    ArrayList<ArrayList<String>> args;
    ArrayList<String> commands;
    int line = 0;
    
    void setup() {
      args = new ArrayList<ArrayList<String>>();
      commands = new ArrayList<String>();
      //Tokenizer
      String[] file = loadStrings("code.asm");
      for(int i = 0; i < file.length; i++) {
        String[] tokens = split(file[i], ' ');
        commands.add(tokens[0]);
        ArrayList<String> targs = new ArrayList<String>();
        for(int j = 1; j < tokens.length; j++) {
          targs.add(tokens[j]);
        }
      }
    }
    void settings() {
      size(512, 512);
    }
    void draw() {
      background(0);
      println("hi");
    }
    
  • Tell us about your code.asm file. Is it a big file? Can you test using a simple file? For instance, a file made of 5 words.

    Your code runs on my machine. You should check your Processing by trying any of the provided examples to see if you experience the same problem.

    Kf

  • edited April 2018

    code.asm is a file consisting of one line:

    mov 1,1

  • edited April 2018

    I can run this sketch too. I was using Processing 3.3.7 on:

    a) Mac Book Pro running El Capitan

    b) PC running Windows 10 Home (32-bit)

    I can see multiple lines of "hi" appearing in the Console window.

    NOTE: This was the first time I ran Processing on the Win 10 PC so I saw a prompt from the Windows Defender Firewall about the Java Platform SE binary, but the Processing sketch still ran even before I had clicked "Allow access".

  • edited April 2018

    I tried running processing as an administrator and it still didn't work. Java is allowed all the permissions it needs, too.

    Processing has been running strangely lately, everytime I want to launch it I have to delete the processing folder (at %appdata%/processing)

    And no sketches I make run either

  • Sounds like something got messed up with your settings. Does your code work on a different computer? Try removing Processing entirely and downloading a fresh installation.

  • Please open a ticket in github.

    Kf

  • @TheZipCreator What version of Processing have you been using?

    I switched to using 3.3.7 last week. I had been working 3.3.6 for months when it crashed during a simple Find-and-Replace -- this was on a Mac Book Pro running El Capitan so this problem may be specific to this platform.

  • edited April 2018

    I'm using the latest version.

    I'll also try re-installing processing

    EDIT: Yep that worked

Sign In or Register to comment.