dMZX Forums: setting watchpoints - dMZX Forums

Jump to content

If you are new to DMZX, please take the time to look over the FAQ pinned in General before asking a question.

Some simple tips when posting problems:

1) Read FAQs first, and then other recent bug posts and entries in the Bug Tracker. The problem has, often, been already addressed. Redundant reports just waste time.

2) Make sure you explain exactly when the problem happens. If impossible, narrow down the problem to a few possible causes.

3) Go into specifics about your computer and MZX settings. Are you running MZX on Windows, Linux, Mac OS, a PSP, or something else? What versions of these OSes (Tiger vs Leopard, XP vs Vista, 32-bit vs 64-bit, etc)? How is MZX set up? If your problem is regarding a certain aspect of MZX (such as the display), what are the relevant settings in the config file?

Thanks, Management.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

setting watchpoints how to do thing

#1 User is offline   Graham 

  • . "@Master Procrastinator"
  • PipPipPipPip
  • Group: Members
  • Posts: 625
  • Joined: 28-December 12
  • Gender:Male
  • Location:Oregon

Posted 11 October 2017 - 03:16 AM

There is a counter I have named "scrollview_y" and I want to know what is setting it from 4 to 5. As I understand it, setting a watchpoint would be a good way of finding out but I cannot seem to get that to work for me. I've tried putting the following things into the watchpoint variable field to no avail: scrollview_y, "scrollview_y", &scrollview_y&, 'scrollview_y', scrollview_y=5, scrollview_y=4, ('scrollview_y'=5)

so obviously I don't understand how i'm supposed to go about using this feature.

Any help is greatly appreciated!
Currently working on Servo for MegaZeux, I hope to complete it by the middle of 2015? Who knows...

"Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you’re a mile away and you have their shoes."
-Jack Handey
0

#2 User is offline   Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 11 October 2017 - 05:42 AM

I did a quick test and it worked for me. Is the robot debugger enabled (i.e. the button says "Disable Debugger")?

Posted Image

Posted Image
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
0

#3 User is offline   Graham 

  • . "@Master Procrastinator"
  • PipPipPipPip
  • Group: Members
  • Posts: 625
  • Joined: 28-December 12
  • Gender:Male
  • Location:Oregon

Posted 11 October 2017 - 07:00 PM

I’m a dummy. I was supposed to be watching for screenpos_y not scrollview_y and I confused the two. Jeez, thanks :-/
Currently working on Servo for MegaZeux, I hope to complete it by the middle of 2015? Who knows...

"Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you’re a mile away and you have their shoes."
-Jack Handey
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users