[Rel] RuntimeDebugger

Post » Wed Mar 30, 2011 6:03 am

Advanced Setting from system properties? Under Win 7? Not sure what you mean.
Yeah, but it's found elsewhere apparently. Goto Control Panel > Action Center > Change Action Center Settings [ Left Panel] > Problem Reporting Settings > Select 'Each time a problem occurs, ask me'.

Also the window focus is seriously busted under Win 7 and that is affecting this. This is a common complaint and I don't know if mickeysoft is doing anything about it or not. Basically RUDE did manage to put Oblivion into windowed mode and I was able to switch to it once, but I couldn't convince Win 7 to give RUDE the focus after that. I finally had to use task manager to shut RUDE and Oblivion down.
Try running the game in windowed mode to begin with - That will take care of the mouse capture issue.
User avatar
Phillip Hamilton
 
Posts: 3457
Joined: Wed Oct 10, 2007 3:07 pm

Post » Wed Mar 30, 2011 2:24 am

3questions:
1: How useful this would be to a mere mortal, i.e. player, notmodder?
2: How stable is OBSE 20 beta? Because would hate to move from stable to problematic OBSE :D
3; Which is the first mod in the runtime series and is it any good for players?
User avatar
Stacy Hope
 
Posts: 3391
Joined: Thu Jun 22, 2006 6:23 am

Post » Wed Mar 30, 2011 9:31 am

3questions:
1: How useful this would be to a mere mortal, i.e. player, notmodder?
2: How stable is OBSE 20 beta? Because would hate to move from stable to problematic OBSE :D
3; Which is the first mod in the runtime series and is it any good for players?

1. Not much.
2. I wouldn't really know - My game sessions never last more than 5 minutes.
3. The RuntimeEditorIDs plugin [ Link in my siggy ]. It allows players to use editorIDs in the console.
User avatar
Rude Gurl
 
Posts: 3425
Joined: Wed Aug 08, 2007 9:17 am

Post » Wed Mar 30, 2011 8:08 am

2: How stable is OBSE 20 beta? Because would hate to move from stable to problematic OBSE :D

Try it. Either it breaks one of your mods immediately (unlikely but usually very obvious, and also you should report that to the OBSE team), or it doesn't and you're fine. OBSE never causes any stability issues in the "game crashes sooner rather than later" sense, beta status is just a question of whether all the commands are working as intended.
User avatar
Joe Bonney
 
Posts: 3466
Joined: Tue Jul 17, 2007 12:00 pm

Post » Wed Mar 30, 2011 4:00 am

Yeah, but it's found elsewhere apparently. Goto Control Panel > Action Center > Change Action Center Settings [ Left Panel] > Problem Reporting Settings > Select 'Each time a problem occurs, ask me'.

Try running the game in windowed mode to begin with - That will take care of the mouse capture issue.


Ah, yes, I had shut that off because the messages were getting stupid. I didn't realize that shut off error reporting too. :mad:

I'll try running in windowed mode, but I have had a lot of trouble with focus issues and I've been told that it is an outstanding issue that MS is apparently looking at. Probably due to all the fancy crap they tried to add to make windoze behave like a Mac :D Just giving you a head's up more than anything else, because I don't know if there's much you can do about it.
User avatar
katsomaya Sanchez
 
Posts: 3368
Joined: Tue Jun 13, 2006 5:03 am

Post » Wed Mar 30, 2011 11:09 am

Ah, yes, I had shut that off because the messages were getting stupid. I didn't realize that shut off error reporting too. :mad:
It wouldn't, actually. You can still lookup individual reports in the event viewer [ Control Panel > Administrative Tools ].

I'll try running in windowed mode, but I have had a lot of trouble with focus issues and I've been told that it is an outstanding issue that MS is apparently looking at. Probably due to all the fancy crap they tried to add to make windoze behave like a Mac :D Just giving you a head's up more than anything else, because I don't know if there's much you can do about it.
Well, that's how the game handles mouse input. I'll see if I can temporarily disable it when the debugger is active.
User avatar
Deon Knight
 
Posts: 3363
Joined: Thu Sep 13, 2007 1:44 am

Post » Wed Mar 30, 2011 1:59 am

It wouldn't, actually. You can still lookup individual reports in the event viewer [ Control Panel > Administrative Tools ].

Well, that's how the game handles mouse input. I'll see if I can temporarily disable it when the debugger is active.


Well, it seems to be better when running Oblivion in windowed mode, so I'd leave it unless you get similar reports from other players. I'm not sure if part of my problem is a setting somewhere. I have most of the aero theme stuff active and that could be the issue.

Now I need to figure out how to get RUDE to do what I want... I'm pretty sure it's just a case of figuring out what the different settings do. Do you have a way to skip out of a loop, for example? I'm guessing that I would need to define a second breakpoint outside the loop and use the skip to next break command, but with scripts running in what basically amounts to a loop (every xx seconds), I'm finding this a bit tricky to set up the way I'd like.
User avatar
Robert DeLarosa
 
Posts: 3415
Joined: Tue Sep 04, 2007 3:43 pm

Post » Wed Mar 30, 2011 7:15 am

Now I need to figure out how to get RUDE to do what I want... I'm pretty sure it's just a case of figuring out what the different settings do. Do you have a way to skip out of a loop, for example? I'm guessing that I would need to define a second breakpoint outside the loop and use the skip to next break command, but with scripts running in what basically amounts to a loop (every xx seconds), I'm finding this a bit tricky to set up the way I'd like.
There isn't a tool to skip out of loops, though it can be implemented with some help from OBSE. Wrapping your loop with a couple of DebugBreak statements should do the trick in your case. Or have I misunderstood ?
User avatar
Susan
 
Posts: 3536
Joined: Sun Jun 25, 2006 2:46 am

Post » Tue Mar 29, 2011 11:20 pm

There isn't a tool to skip out of loops, though it can be implemented with some help from OBSE. Wrapping your loop with a couple of DebugBreak statements should do the trick in your case. Or have I misunderstood ?


Yeah, that might do the trick as well. Basically I was watching a loop until a certain point, and while I wanted the loop to continue, I didn't want to watch it anymore. I could remove the break point inside the loop (DebugBreak) and add one just after the loop from the RUDE console window, correct?

One minor request: could you fix up the formatting of the PDF so that we could print it? Right now it doesn't seem to match up to letter or legal size paper (or even A4). The same for CSE actually. I think to print these types of things and then I add my own notes to them.
User avatar
Lauren Graves
 
Posts: 3343
Joined: Fri Aug 04, 2006 6:03 pm

Post » Wed Mar 30, 2011 8:58 am

Yeah, that might do the trick as well. Basically I was watching a loop until a certain point, and while I wanted the loop to continue, I didn't want to watch it anymore. I could remove the break point inside the loop (DebugBreak) and add one just after the loop from the RUDE console window, correct?
Right.

One minor request: could you fix up the formatting of the PDF so that we could print it? Right now it doesn't seem to match up to letter or legal size paper (or even A4). The same for CSE actually. I think to print these types of things and then I add my own notes to them.
Certainly. Although, aren't PDF viewers supposed to have tools to change page layout for printing ?
User avatar
Sxc-Mary
 
Posts: 3536
Joined: Wed Aug 23, 2006 12:53 pm

Post » Wed Mar 30, 2011 8:32 am


Certainly. Although, aren't PDF viewers supposed to have tools to change page layout for printing ?


Not to that extent. They won't break the text up into pages to match your page size. I think if you have the standard version of Adobe, that allows editing of PDF's, you can repaginate, but I don't think most readers can do that. It might be easier for you to just supply a Doc or ODT file... :unsure:
User avatar
Nathan Risch
 
Posts: 3313
Joined: Sun Aug 05, 2007 10:15 pm

Post » Wed Mar 30, 2011 12:06 pm

Yeah, PDF is explicitly a layout format. You can resize the pages, but their aspect ratio and the positions of all elements are fixed, so if you've formatted for e.g. A4 paper and the person printing it is using U.S. Letter-size, they'll wind up with particularly wide margins on the left and right. There's no way for the text at the bottom of page 1 to flow onto page 2 so the margins can be made even, because the pages are individually encapsulated.

Looks like the only reason you're using PDF is to embed the image, there's no fancy layout otherwise. Seconded that you should use a word processor format (.odt or .doc for maximum compatibility), or even just HTML. Something where the content is the primary data and the layout is flexible.
User avatar
Heather M
 
Posts: 3487
Joined: Mon Aug 27, 2007 5:40 am

Post » Wed Mar 30, 2011 8:44 am

If you haven't considered it, perhaps you can host the non-essential documentation online, e.g. using a free wiki hosting site. It doesn't work well if you have multiple versions released, but it would be a lot easier to format and cross reference.
User avatar
Annick Charron
 
Posts: 3367
Joined: Fri Dec 29, 2006 3:03 pm

Post » Wed Mar 30, 2011 12:30 pm

Not to that extent. They won't break the text up into pages to match your page size. I think if you have the standard version of Adobe, that allows editing of PDF's, you can repaginate, but I don't think most readers can do that. It might be easier for you to just supply a Doc or ODT file... :unsure:
Yeah, PDF is explicitly a layout format. You can resize the pages, but their aspect ratio and the positions of all elements are fixed, so if you've formatted for e.g. A4 paper and the person printing it is using U.S. Letter-size, they'll wind up with particularly wide margins on the left and right. There's no way for the text at the bottom of page 1 to flow onto page 2 so the margins can be made even, because the pages are individually encapsulated.

Looks like the only reason you're using PDF is to embed the image, there's no fancy layout otherwise. Seconded that you should use a word processor format (.odt or .doc for maximum compatibility), or even just HTML. Something where the content is the primary data and the layout is flexible.
Right. I'll bundle the document file in future updates.

If you haven't considered it, perhaps you can host the non-essential documentation online, e.g. using a free wiki hosting site. It doesn't work well if you have multiple versions released, but it would be a lot easier to format and cross reference.
I used to do that with my mods. But as you stated, it ended up making the updating process even more tiresome with each new build.
User avatar
Alexandra Louise Taylor
 
Posts: 3449
Joined: Mon Aug 07, 2006 1:48 pm

Post » Wed Mar 30, 2011 12:27 pm

There is a fair chance that the debugger could help you. Just add DebugBreak commands to the mod's scripts and hit the 'Execute Till Next Error' button. If there a script error is encountered, script execution will halt at the erroneous line.


I'll try this and let you know how it goes. Thanks
User avatar
JAY
 
Posts: 3433
Joined: Fri Sep 14, 2007 6:17 am

Post » Wed Mar 30, 2011 6:00 am

Obligatory bump.
User avatar
Alex Blacke
 
Posts: 3460
Joined: Sun Feb 18, 2007 10:46 pm

Post » Tue Mar 29, 2011 10:52 pm

Is there any way to resume the game, and then call the debugger back up?
User avatar
Phillip Brunyee
 
Posts: 3510
Joined: Tue Jul 31, 2007 7:43 pm

Post » Wed Mar 30, 2011 5:06 am

Is there any way to resume the game, and then call the debugger back up?
Yes. Hit the 'Toggle breakpoints' button in the UI before resuming. That will prevent DebugBreak statements from invoking the debugger. When you want it back, simply commit the 'ToggleBreakpoints' (can't remember the name correctly - Should be mentioned in the manual) command in the console.
User avatar
Calum Campbell
 
Posts: 3574
Joined: Tue Jul 10, 2007 7:55 am

Post » Wed Mar 30, 2011 1:47 pm

Yes. Hit the 'Toggle breakpoints' button in the UI before resuming. That will prevent DebugBreak statements from invoking the debugger. When you want it back, simply commit the 'ToggleBreakpoints' (can't remember the name correctly - Should be mentioned in the manual) command in the console.


The manual didn't say anything about specifically resuming the game and then calling the editor back up. I read it, I promise. If it is in the manual, I overlooked it.
User avatar
Sabrina Steige
 
Posts: 3396
Joined: Mon Aug 20, 2007 9:51 pm

Post » Wed Mar 30, 2011 5:38 am

The manual didn't say anything about specifically resuming the game and then calling the editor back up. I read it, I promise. If it is in the manual, I overlooked it.
No, I don't believe it does. I was merely stating that info about the script command should be present in it.
User avatar
Tyrone Haywood
 
Posts: 3472
Joined: Sun Apr 29, 2007 7:10 am

Post » Wed Mar 30, 2011 3:03 am

No, I don't believe it does. I was merely stating that info about the script command should be present in it.


Oh, okay. I misunderstood. It does say mention the script command.
User avatar
Catherine Harte
 
Posts: 3379
Joined: Sat Aug 26, 2006 12:58 pm

Previous

Return to IV - Oblivion