Page 1 of 1

Looking for more information on a build error.

Posted: Mon Mar 13, 2017 7:12 pm
by cartographer7
In Ranorex Studio I'm encountering a build error, and all it's telling me is "Failed to update code for [recording]. The user code class has compile errors". The "extended error information" that shows up when I click on the error doesn't actually tell me anything that's not in the error already. Does anyone know how to get more information from Ranorex on what went wrong? I've got 6.1 running on Windows 7.

(I know some people here could probably help me solve the problem directly, and I may yet ask for that kind of help, but for now I'm looking for tools to figure out how to solve it myself if I can.)

Thanks!

Re: Looking for more information on a build error.

Posted: Tue Mar 14, 2017 8:10 am
by odklizec
Hi,

At first, Ranorex 6.1 is too old and no longer supported. I would strongly recommend to update to latest 6.2.1.

At next, without seeing your project/solution, or at least the recording/code module where the build fails, it's next to impossible to tell what's wrong. What you can try is to set the Report Level to "Debug" (right click on a top level item in Solution tree and from the appeared menu select Report Level >> Debug).

My guess is that there is a missing/redundant parenthesis in your code? ;)

Re: Looking for more information on a build error.

Posted: Tue Mar 14, 2017 6:55 pm
by cartographer7
The upgrade did it. It now gives me actual information, in this case "unrecognized escape sequence" with a line number, which let me solve the problem.

Thanks!