Debugging issue


#1

So I’m running my newly made program and the code compiles but I do get
this debugging output every time I run it:

‘ir.exe’ (Managed (v4.0.30319)): Loaded
‘C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll’
‘ir.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Program Files (x86)\IronRuby
1.1\bin\ir.exe’
‘ir.exe’ (Managed (v4.0.30319)): Loaded
‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\IronRuby\v4.0_1.1.3.0__7f709c5b713576e1\IronRuby.dll’
‘ir.exe’ (Managed (v4.0.30319)): Loaded
‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll’
‘ir.exe’ (Managed (v4.0.30319)): Loaded
‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll’
‘ir.exe’ (Managed (v4.0.30319)): Loaded
‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Dynamic\v4.0_1.1.0.20__7f709c5b713576e1\Microsoft.Dynamic.dll’
‘ir.exe’ (Managed (v4.0.30319)): Loaded
‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Scripting\v4.0_1.1.0.20__7f709c5b713576e1\Microsoft.Scripting.dll’
‘ir.exe’ (Managed (v4.0.30319)): Loaded
‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll’
‘ir.exe’ (Managed (v4.0.30319)): Loaded
‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll’
‘ir.exe’ (Managed (v4.0.30319)): Loaded
‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\IronRuby.Libraries\v4.0_1.1.3.0__7f709c5b713576e1\IronRuby.Libraries.dll’
A first chance exception of type ‘IronRuby.Builtins.SyntaxError’
occurred in IronRuby.dll
The program ‘[2432] ir.exe: Managed (v4.0.30319)’ has exited with code 1
(0x1).

Any ideas what’s going on here? Googling this Syntax Error didn’t help
much. Thanks.


#2

Can you post the code that generates this error?

Shay.


#3

Sure, here it is:

class login
include Tester
before(:all) do
@app = Bewildr::Application.start(‘c:/windows/notepad.exe’)
end

There were some commented lines but I took them out.

Previously I’ve worked with Watir and used this:

test_suite “Login” do
include TestHelper

before(:all) do

open_browser("http://localhost:54850/home")

end

Is it possible to have an equivalent of test_suite declaration in IR?