User forums > Help

How to use "watch"?

(1/2) > >>

TheUnusualGuy:
How do I use the "watch" feature in Windows?
I have the following line:
void exp10ToExp2(struct Number *pn)
My professor, who runs Linux, is able to right-click the "*pn" and select watch "pn".
However, I'm unable to do the same on Windows.
The following timestamped link shows my professor doing it. https://youtu.be/iEDFTMjyeWk?t=793
I've found the Watches window (Debug > Debugging windows > Watches) but it doesn't have the data filled out like it shows on my professor's screen.

oBFusCATed:
Are you able to stop on a break point?
What is the result in the full debugger log (enable it in Settings -> Debugger)?
Do you see the watches window (Debug -> Debugging windows -> Watches)?

TheUnusualGuy:

--- Quote from: oBFusCATed on October 16, 2019, 09:45:10 pm ---Are you able to stop on a break point?
What is the result in the full debugger log (enable it in Settings -> Debugger)?
Do you see the watches window (Debug -> Debugging windows -> Watches)?

--- End quote ---
My professor said that a yellow triangle should appear on the breakpoint, but it doesn't.
Here's the debugger info, to save space on the thread: https://www.heypasteit.com/clip/0ITAFU. It appears to be the same message twice.
Screenshot of my code after pressing Debug/Continue: https://imgur.com/a/4z2TUiG
Yes, I can see the watches window, but my professor was able to do this: https://youtu.be/y73kULpEfxA?t=764 (it shows the fields already filled in when he presses "watch")

oBFusCATed:

--- Quote from: oBFusCATed on October 16, 2019, 09:45:10 pm ---What is the result in the full debugger log (enable it in Settings -> Debugger)?

--- End quote ---

You've not pasted the full debugger log...

TheUnusualGuy:

--- Quote from: oBFusCATed on October 17, 2019, 09:07:52 am ---
--- Quote from: oBFusCATed on October 16, 2019, 09:45:10 pm ---What is the result in the full debugger log (enable it in Settings -> Debugger)?

--- End quote ---

You've not pasted the full debugger log...

--- End quote ---
Apologies.
https://www.heypasteit.com/clip/0ITAID
This is the full debugger log after running the debugger once.

Navigation

[0] Message Index

[#] Next page

Go to full version