First time here? Check out the FAQ!
1

How to move into the ReadPythonNews()

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.

anonymous user
Anonymous
asked 2022-06-29 10:30:40 -0600
Wingware Support's avatar
4.2k
Wingware Support
updated 2022-06-30 06:50:27 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

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().

Wingware Support's avatar
4.2k
Wingware Support
answered 2022-06-29 10:46:11 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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.

Wingware Support's avatar
4.2k
Wingware Support
answered 2022-06-29 11:12:18 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer