Home
Outpost 1
Outpost 2
Chat
Forum
Wiki
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Outpost Universe Forums
»
Projects & Development
»
Outpost 2 Programming & Development
»
How to attach Visual Studio Debugger to a mission DLL - OPU Launcher
Print
Pages: [
1
]
Go Down
Author
Topic: How to attach Visual Studio Debugger to a mission DLL - OPU Launcher (Read 87 times)
Vagabond
Global Moderator
Hero Member
Posts: 1023
How to attach Visual Studio Debugger to a mission DLL - OPU Launcher
«
on:
July 19, 2026, 05:11:16 PM »
So, we are trying to debug a mission DLL. I used to be able to attach the VS debugger using the setup described at
https://wiki.outpost2.net/doku.php?id=op2_sdk:projectsettings
under the section Referencing the Outpost 2 executable.
There is a really long thread that discusses how I got to writing the wiki article here:
https://forum.outpost2.net/index.php/topic,5793.0.html
I'm trying to figure out if I am just forgetting a step from years ago, or if using the OPULauncher changes what needs to happen to get VS to register a breakpoint in the mission DLL source code. I'm wondering if someone has recently tried debugging a mission and could help? We are using VS 2022 Community Edition right now, but would be willing to update to VS2026 if helpful.
Thanks,
Brett
Logged
Sirbomber
Hero Member
Posts: 3254
Re: How to attach Visual Studio Debugger to a mission DLL - OPU Launcher
«
Reply #1 on:
July 20, 2026, 10:56:48 AM »
I've never included the game executable as a secondary project, but in the project debugging properties, setting the command to the base OP2 executable with a command of /OPU has always worked reliably for me.
«
Last Edit: July 20, 2026, 10:58:24 AM by Sirbomber
»
Logged
"As usual, colonist opinion is split between those who think the plague is a good idea, and those who are dying from it." - Outpost Evening Star
Outpost 2 Coding 101 Tutorials
Print
Pages: [
1
]
Go Up
Outpost Universe Forums
»
Projects & Development
»
Outpost 2 Programming & Development
»
How to attach Visual Studio Debugger to a mission DLL - OPU Launcher