mods / utility

R // UTILITY

redscript-dap

by jac3km4

0
★ 12 stars

redscript-dap Debug adapter server implementation for Cyberpunk 2077 scripts. https://github.com/jac3km4/redscript-dap/assets/11986158/728a3de0-1d6d-47d4-8e9a-737a7a58a813 requirements

  • redscript 0.5.25 or newer
  • red4ext 1.25.0 or newer
  • redscript IDE VSCode extension 0.2.6 or newer
  • optionally RedMod DLC in Steam/GoG if you intend to debug built-in game scripts

usage

  • download the latest DLL
  • place it in {Cyberpunk Install Dir}/red4ext/plugins/redscript dap.dll
  • start the game
  • open a redscript workspace in VSCode, open the command pallette in VSCode (Ctrl+Shift+P) and execute Redscript: Attach to Cyberpunk 2077
  • congratulations, you can now interact with the debugger, make sure to read about known issues

known issues

  • the debugger currently only stops at function calls, breakpoints set at lines that do not contain

any function calls will do nothing, which may result in surprising jumps sometimes

  • intrinsics like Equals , ArrayPush and so on are not function calls and will not stop the

debugger

  • stepping might appear to be stuck on a line sometimes, but it's not - it's u…

Summary adapted from the project README (MIT licensed). Full docs at the source link above.

Are you the author?

This is a metadata page. We never host files without your consent. Claim it to get full-speed direct hosting for your users, download stats, and complete control: edit, update, delete, it stays yours.

Requires signing in with Discord. Questions first? Message the team from your dashboard.

Comments (0)

Sign in to comment, vote, or submit screenshots.

No comments yet.

More utility mods