Jump to content
IGNORED

Question about jsfDebugMessageHalt()


JagMod
 Share

Recommended Posts

I'm using 'C' with JagStudio
I turn on the debug monitor...

 

    rapDebugSetXY(20, 45);
    rapDebugSetMonitor(0, STRPTR(sprite[sprTop].x_));
    rapDebugSetMonitor(1, STRPTR(sprite[sprTop].y_));
    rapDebugSetVisible(DEBUG_SHOW);


    
and called update in the main loop...

    rapDebugUpdate();


    
the debug monitor window appears and is near the top of the screen
the sprite x, y values update (as they do in the debugview demo) 

Then later in the code I call...

    jsfDebugMessageHalt();


This halts the program, however, the debug monitor window is relocated to the bottom of the screen.

Not a major problem unless what you want to see what is behind the monitor window.

 

Is this suppose to happen?


Is there a way to have the debug monitor window stay where it was set with rapDebugSetXY() ?

Link to comment
Share on other sites

Hi,

 

Thanks for pointing this out.  We hard coded the position for jsfDebugMessage() and jsfDebugMessageHalt() because they were designed to be quick calls to show debug info.

However I can appreciate that they might end up on the screen in front of whatever you're doing.

 

I'll remove the hard coded positions from the next JagStudio release (which isn't far off).

 

Thanks

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...