Question

3
Replies
200
Views
Jarrett Member since 2017 17 posts
Navy Federal Credit Union
Posted: 3 years ago
Last activity: 2 years 11 months ago
Closed
Solved

Differentiating between running in Runtime vs. Studio

Is there a way to determine if the code currently being executed is running Robotics Studio without creating a new configuration? I want to load different files when running locally and deployed. I already have configs for dev, testing, and production. I'd like to avoid adding a dev-local and dev-deployed config.

In Visual Studio, I'd accomplish this by checking the Debugger.IsAttached property to see if the .NET debugger is running.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn