How to run ranorex script in debug mode from command line?

Ask general questions here.
princebannu
Posts: 6
Joined: Wed Apr 18, 2012 8:40 am

How to run ranorex script in debug mode from command line?

Post by princebannu » Tue Sep 16, 2014 3:25 pm

Hi,

I want to execute my script in debug mode from command line.

I am using below code to identify , whether script running in debug mode or not?

if (system.diagnostics.debugger.isattached)
{
Console.writeLine("Debug mode.");
}

Can any one please help me?

Thank You,
Venkat

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How to run ranorex script in debug mode from command line?

Post by Support Team » Fri Sep 19, 2014 11:57 am

Hello princebannu,

I’m afraid that there is no out-of-the-box solution for running executables in „debug“-mode from the command line interface. You will need a command-line debugger such as MDbg, which is part of the .NET Framework. Further information can be found here: http://msdn.microsoft.com/en-us/library ... .110).aspx

Regards,
Robert
.
Image