First time here? Check out the FAQ!

Revision history  [back]

IDE tutorial setting Python shell breakpoint

In following the tutorial; I tried every way I can think of to set the breakpoint.  If I understand correctly, the breakpoint setting is to be done at the shell;Let's try this out. Paste the following into the Python Shell and press Enter so that you are returned to the >>> prompt:

def test_function():
x = 10
print(x)
x += 5
y = 20
print(x+y)

Then place a breakpoint on the line that reads print(x).Next type this into the Python Shell and press Enter:test_function()Wing should reach the breakpoint on the print(x) line.

Where, how should the breakpoint be set?

IDE tutorial setting Python shell breakpoint

In following the tutorial; I tried every way I can think of to set the breakpoint.  If I understand correctly, the breakpoint setting is to be done at the shell;Let's try this out. Paste the following into the Python Shell and press Enter so that you are returned to the >>> prompt:

def test_function():
x = 10
print(x)
x += 5
y = 20
print(x+y)

Then place a breakpoint on the line that reads print(x).Next type this into the Python Shell and press Enter:test_function()Wing should reach the breakpoint on the print(x) line.

Where, how should the breakpoint be set?

IDE tutorial setting Python shell breakpoint

In following the tutorial; I tried every way I can think of to set the breakpoint.  If I understand correctly, the breakpoint setting is to be done at the shell;Let's try this out. Paste the following into the Python Shell and press Enter so that you are returned to the >>> prompt:

def test_function():
x = 10
print(x)
x += 5
y = 20
print(x+y)

Then place a breakpoint on the line that reads print(x).Next type this into the Python Shell and press Enter:test_function()Wing should reach the breakpoint on the print(x) line.

Where, how should the breakpoint be set?

IDE tutorial setting Python shell breakpoint

In following the tutorial; I tried every way I can think of to set the breakpoint.  If I understand correctly, the breakpoint setting is to be done at the shell;Let's try this out. Paste the following into the Python Shell and press Enter so that you are returned to the >>> prompt:

def test_function():
x = 10
print(x)
x += 5
y = 20
print(x+y)

Then place a breakpoint on the line that reads print(x).Next type this into the Python Shell and press Enter:test_function()Wing should reach the breakpoint on the print(x) line.

Where, how should the breakpoint be set?

IDE tutorial setting Python shell breakpoint

In following the tutorial; I tried every way I can think of to set the breakpoint.  If I understand correctly, the breakpoint setting is to be done at the shell;Let's try this out. Paste the following into the Python Shell and press Enter so that you are returned to the >>> prompt:

def test_function():
x = 10
print(x)
x += 5
y = 20
print(x+y)

Then place a breakpoint on the line that reads print(x).Next type this into the Python Shell and press Enter:test_function()Wing should reach the breakpoint on the print(x) line.

Where, how should the breakpoint be set?

IDE tutorial setting Python shell breakpoint

In following the tutorial; I tried every way I can think of to set the breakpoint.  If I understand correctly, the breakpoint setting is to be done at the shell;Let's try this out. Paste the following into the Python Shell and press Enter so that you are returned to the >>> prompt:

prompt:
def test_function():
x = 10
print(x)
x += 5
y = 20
print(x+y)

print(x+y)​ Then place a breakpoint on the line that reads print(x).Next type this into the Python Shell and press Enter:test_function()Wing should reach the breakpoint on the print(x) line.

Where, line.Where, how should the breakpoint be set?