1

For IronPython to import some modules it requires -X:Frames option to be passed. (ipy -X:Frames)

However, when using Visual Studio we can only assign this option if we use interactive window. To execute a Python file there is no way that I know to pass parameters. Maybe something like:

some_name.options.append("X:Frames")
import my_module

Is there a way to do so?

ozgur
  • 2,549
  • 4
  • 25
  • 40
  • Perhaps [this answer](http://stackoverflow.com/questions/3078039/how-can-i-use-xframes-in-ironpython) is still relevant? – ig0774 Apr 26 '16 at 18:44
  • I am already doing that when hosting IronPython or running it from command line. Now, I am debugging it and not using interactive console. – ozgur Apr 26 '16 at 19:07
  • I don't suspect this option can be changed once the interpreter is running. Why can't you use project properties/debug/interpreter arguments when launching in visual studio? – Simon Opelt Apr 27 '16 at 09:32
  • @SimonOpelt Now I am doing it. I was just trying to use IronPython's global interpreter to launch the code. Do you think should I delete the question? – ozgur Apr 27 '16 at 09:48

0 Answers0