Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Using the debugger with OSbot local Scripts

Featured Replies

Debugging scripts in osbot is pretty simple once you learn abut debugging localprocesses. Here are the basic steps you will need

1. Add a breakpoint into your local script you have create

2. Set your build output to go to your OSBOT scripts folder

uWNlKWR.gif

fCc1j3i.gif

3. Create a debug configuration that starts an application with the entry point of org.osbot.boot

hDNkilV.gif

4. Run your configuration (do not debug it) to bring up osbot so your local processes in intellij can see it.

5fyQfdo.gif

5. log into your account and then you are ready to attach to the local script process through intellij. Once you have attached run your script and you should now be debugging your script so any breakpoints that the code hits will now stop and allow you to see the variables.

bXTYCEU.gif

6. you can also add watches to quickly look up things without using print lines and make debugging much easier now.

rZoII0h.gif

7. if you need to do more complex statements you can use evaluate expression to have multiple lines.

Looks like images got deleted from site so to view the gifs that explain each step use this google cache link

https://webcache.googleusercontent.com/search?q=cache:zre9YWkp3WsJ:https://osbot.org/forum/topic/133159-using-the-debugger-with-osbot-local-scripts/+&cd=1&hl=en&ct=clnk&gl=us

or this imgur link: https://imgur.com/a/smwr5lu

C1ftlgJ.gif

Edited by battleguard

  • 10 months later...

After I was done running the debugger, it wouldn't rebuild my jar file and it lost the JDK for the module. Is there a proper way to stop the debugger?

My classes all changed to this: https://gyazo.com/31f882c551a2235cf509a487c5d8924b  

I ended up making a new project and just copy and pasted the code into it. Couldn't figure out how to fix it otherwise 

  • 4 months later...

All other compiled local jar disappeared after I tried this.:feels:

On 10/1/2018 at 3:21 AM, Dab in a Lab said:

After I was done running the debugger, it wouldn't rebuild my jar file and it lost the JDK for the module. Is there a proper way to stop the debugger?

My classes all changed to this: https://gyazo.com/31f882c551a2235cf509a487c5d8924b  

I ended up making a new project and just copy and pasted the code into it. Couldn't figure out how to fix it otherwise 

I have encountered the same issue.

Select "Inherit project compile output path" should help

Edited by Pegasus

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.