Ask Your Question
1

How to move into the ReadPythonNews()

asked 2022-06-29 10:30:40 -0500

anonymous user

Anonymous

updated 2022-06-30 06:50:27 -0500

During debugging If we place a breakpoint on news = ReadPythonNews(GetItemCount()), how to move into ReadPythonNews() and eventually to the last line of ReadPythonNews() which is return news[:count]

Trying to do the part of the tutorial(https://wingware.com/doc/int... displayed below

Try stepping or running to a breakpoint on the last line of this function, which reads return news[:count]. In this context, right-clicking on news under locals in Stack Data allows viewing the value in textual form or as an array.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2022-06-29 11:12:18 -0500

For the specific case where you want to step into ReadPythonNews, Step Into will go into GetItemCount then Step Out will go into ReadPythonNews. Or set a breakpoint at the end of ReadPythonNews by clicking on the leftmost margin next to that line in the editor. We'll try to make the instructions in the tutorial clearer.

edit flag offensive delete link more
0

answered 2022-06-29 10:46:11 -0500

If you're stopped at the news = ReadPythonNews(GetItemCount()) line, Debug > Step Into should step into the function calls, first into GetItemCount() and then after more stepping, into ReadPythonNews(). You may want Debug > Step Over and Debug > Step Out when in GetItemsCount().

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2022-06-29 10:30:40 -0500

Seen: 73 times

Last updated: Jul 08