Ask Your Question
1

How can I continue from breakpoint N times?

asked 2021-12-11 11:54:28 -0500

HMBmike's avatar

updated 2021-12-12 08:37:38 -0500

I am debugging a file scanner and I have a breakpoint set at file.readline(). I see in the file it fails at line 3211. How do I continue from breakpoint 3210 times then step through to find the bug?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2021-12-12 08:40:14 -0500

You can right-click on the breakpoint, select Ignore Breakpoint, and then enter an ignore count.

However, in a lot of cases it may be easier to set a conditional breakpoint to isolate the case you want to debug. This is also done by right-clicking on the breakpoint margin, either to create a conditional breakpoint or edit an existing breakpoint's condition.

There are details on this at https://wingware.com/doc/debug/settin...

edit flag offensive delete link more

Comments

Thank you, I am now rolling again!

HMBmike's avatar HMBmike  ( 2021-12-13 10:44:57 -0500 )edit

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: 2021-12-11 11:54:28 -0500

Seen: 133 times

Last updated: Dec 14 '21