Program not response

Hi,

I have this problem when I run the Metropolis Hastings algorithm. The program seems being running since only the "stop program" button is on. However in the output window there comes no result and the cursor keeps blinking.  It is also not editable if I try to input another new command. Do you know where something may go wrong? Thank you very much!

5 Answers



0



Most likely you are in debug mode. If you click the debug icon-- which is located on the GAUSS toolbar immediately to the right of the run button and looks like a lady bug--GAUSS will be waiting for you to tell it to step forward, run to a breakpoint, or the end of the program, etc.

You can end debug mode by clicking the stop button.

aptech

1,423


0



Thanks! The situation I have here is that when I run a file the mode seems turn to the debug mode by itself. Is it normal?  Then I click the stop button and there is a statement in the program input/output window:

<Break in line 157>, c:\...\...\...\.....src, tid=[3666594544]

The error output window doesn't show which kind of error it is. It only shows the location of the error.



0



GAUSS will only start in debug mode if you click the debug button (which looks like a ladybug) or if you use the hot-key CTRL+D. If you use the run button, the F5 hot key or the CTRL+R hot key, GAUSS will just run the code.

GAUSS toolbar buttons

Mac version: Run button, debug button, edit button, stop button.

An output message like this:

<Break in line 14>, /Path/to/file/filename.gss, tid=[4825890816]

<Break in line 20>, /Path/to/file/filename.gss, tid=[4826669056]

shows you what lines were being executed when you hit the stop button. It is possible that you were not in debug mode, but just running some code that takes a while to execute and does not print out any output during the intensive parts of the code.

aptech

1,423


0



Since the line and file from your stop message:

<Break in line 157>, c:\...\...\...\.....src, tid=[3666594544]

show the location of the program when you stopped it, it can give you an idea of if the program was near finishing or where it might be taking the most time.

aptech

1,423


0



Thank you very much!

Your Answer


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 30 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy