Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.14k stars 299 forks source link

Debugging Python 3.6.3 #3401

Open agiotti opened 6 years ago

agiotti commented 6 years ago

Short Summary

Hello, Komodo IDE version : 11.0.1, build 90797 OS Version: Windows 7 Professional Python Version: 3.6.3

Loaded a Python project within the Komodo IDE. Open any python file, set the file type to Python3. Set multiple break points. When running the debugger for the first time, the debugger stops on the first break point. When running subsequent debugging sessions the debugger skips over the first break point and stops on the second. If there is only one break point then the program runs to completion, never stops on the first break point.

Steps to Reproduce

Open any python file, set the file type to Python3. Set multiple break points. Start debugging

Expected results

For every debug session, the debugger should stop on the first break point

Actual results

First debugging session, stops on first break point. All subsequent debugging sessions, the first break point is skipped.

Platform Information

Komodo Edit or IDE? IDE Komodo Version? 11.0.1, build 90797 Operating System (and version)? Windows 7 Professional 64 bit

Additional Information

Python Version: 3.6.3

Naatan commented 6 years ago

Can't reproduce. How are you running subsequent debug sessions?

Can you reproduce it with the following code (breakpoint on both lines)?

import os
print(os.path)
agiotti commented 6 years ago

Hello Nathan

Running via the Komodo IDE. Debug Go/Continue

Yes I can duplicate with the code below.

From: Nathan Rijksen [mailto:notifications@github.com] Sent: Tuesday, December 05, 2017 1:47 PM To: Komodo/KomodoEdit KomodoEdit@noreply.github.com Cc: Giotti, Alfred AGiotti@seic.com; Author author@noreply.github.com Subject: Re: [Komodo/KomodoEdit] Debugging Python 3.6.3 (#3401)

Can't reproduce. How are you running subsequent debug sessions?

Can you reproduce it with the following code (breakpoint on both lines)?

import os

print(os.path)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Komodo/KomodoEdit/issues/3401#issuecomment-349402331, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgsOZZOccsrvnwkmCoFKm8j-a3hlgcuLks5s9Y-5gaJpZM4Q2i7m.

Naatan commented 6 years ago

Running via the Komodo IDE. Debug Go/Continue

That means very little as it can be interpreted a number of ways. Can you please be specific? What exact steps do you follow?

agiotti commented 6 years ago

Okay, let me try again with pictures

Komodo IDE with the code you provided. [cid:image001.png@01D36DD1.F0A6C4D0]

Select Debug | Go/Continue [cid:image006.jpg@01D36DD2.92371700]

[cid:image007.jpg@01D36DD2.92371700]

[cid:image008.jpg@01D36DD2.92371700]

From: Nathan Rijksen [mailto:notifications@github.com] Sent: Tuesday, December 05, 2017 1:59 PM To: Komodo/KomodoEdit KomodoEdit@noreply.github.com Cc: Giotti, Alfred AGiotti@seic.com; Author author@noreply.github.com Subject: Re: [Komodo/KomodoEdit] Debugging Python 3.6.3 (#3401)

Running via the Komodo IDE. Debug Go/Continue

That means very little as it can be interpreted a number of ways. Can you please be specific? What exact steps do you follow?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Komodo/KomodoEdit/issues/3401#issuecomment-349405469, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgsOZWMz6ZJ9B6PA5Z-j6JDxDeahkY0fks5s9ZJagaJpZM4Q2i7m.

Naatan commented 6 years ago

Please respond using the github interface. Email messages aren't parsed properly and really ought to be disabled.

agiotti commented 6 years ago

Please review the attached document. I have also uploaded a video (2017-12-08_0915.swf). To view the video just open it with a flash enabled browser. Note that both files are embedded inside the zip files.

2017-12-08_0915.zip

KomodoIssue.zip

Naatan commented 6 years ago

Can't reproduce still. @careyh can you try this on Windows?

mitchell-as commented 6 years ago

I am not able to reproduce this on Windows with ActivePython 3.6.0. I have a simple file:

import os
print(os.path)

I placed breakpoints on both lines.

When I started the debugger, it broke on the first line. I pressed "Continue" and it broke on the second line. Pressing "Continue" again finishes the script and prints os.path. When I attempt to debug again, the debugger breaks on the first line again, and subsequent debugger runs do so as well.