Norbyte / bg3se

Baldur's Gate 3 Script Extender
Other
1.1k stars 68 forks source link

Lua Debugging mode won't prioritize script at Data/Mods/*mod name*/ScriptExtender/Lua over base installation #442

Open Eumeta opened 1 week ago

Eumeta commented 1 week ago

I have attempted solutions to common problems

No

I have checked that my game version is supported

Yes

OS

Windows 11

Platform

Steam

Description

Before Patch 7 - Debugging mode operates normally After Patch 7, with reinstalling BG3-VS Code link (extension and debug adapter), recreating ScriptExtenderSettings.json

Indications

I guess it's because the debugger uses Script Extender ?

Diagnostic Files

No response

Steps to Reproduce

Prerequisite: Finish Debugger installation detailed in https://github.com/Norbyte/bg3se/blob/main/Docs/Debugger.md 1.Install a mod with script

  1. extract the mod out, copy/move the folder mod name/mods/mod name to Data/Mods
  2. Make some changes in the script in the copied/moved folder such that it will definitely cause an error on run
  3. Launch the game with Debugger enabled and VS code on active debugging, with a window being the script in Data/Mods/mod name/ScriptExtender/Lua
  4. Cause the event where the script causing the error requires to run

Expected Behavior

The expected result would be VSCode stopping the game due to an error

Actual Behavior

The game runs normally

Eumeta commented 6 days ago

This issue is circumvented by removing the mod pak file from the mod folder in Appdata and placing mod loose files into the game installation Data folder, or make symblink leading to it, should I close the issue ?