logo

NJP

Where are Breakpoints and Logpoints stored?!

Import · Jun 29, 2020 · article

Breakpoints and Logpoints

A small recap for if you are unfamiliar with Breakpoints and Logpoints. There's some good reading about both on the Docs: Set or remove breakpoints and Set or remove logpoints. Also recently I've written an article about the Logpoints functionality which got added in the Orlando release: Forget about adding log statements to Server Side script, use logpoints! [Orlando].

Tables

Because it didn't seem session related, I thought might Breakpoints and Logpoints actually be stored on the database? A quick search on the tables gave me:

image

"sys_js_breakpoint" and "sys_js_logpoint"

So these though tables hold all Breakpoints and Logpoints set in your instance! So what can you do with this?! Well this is just a short article finding out some unfamiliar territory in ServiceNow and how some things have been set up image. Though what you can do with this is up to your imagination. For example:

- Instantly removing all Breakpoints / Logpoints;- When cloning instances, cleaning-up Breakpoints / Logpoints;- Change a line number quicker for a Breakpoint or Logpoint set;- Change Breakpoint conditions quicker;- Keep Breakpoints though only remove the condition;

- Etcetera.

So what you can do with this is up to your imagination!

---

And that's it actually. Hope you like it. If any questions or remarks, let me know!

Kind regards,

Mar k Roethof

ServiceNow Technical Consultant @ Quint Technology

1x ServiceNow Developer MVP

1x ServiceNow Community MVP

---

LinkedIn

image

View original source

https://www.servicenow.com/community/developer-articles/where-are-breakpoints-and-logpoints-stored/ta-p/2307855