Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] how do you guys debug release mode only bugs in C++ ? just add a bunch of logs/prints ?

[DiscordArchive] how do you guys debug release mode only bugs in C++ ? just add a bunch of logs/prints ?

[DiscordArchive] how do you guys debug release mode only bugs in C++ ? just add a bunch of logs/prints ?

rektbyfaith
Administrator
0
10-20-2024, 06:15 PM
#1
Archived author: Titi • Posted: 2024-10-20T18:15:08.636000+00:00
Original source

how do you guys debug release mode only bugs in C++ ? just add a bunch of logs/prints ?
rektbyfaith
10-20-2024, 06:15 PM #1

Archived author: Titi • Posted: 2024-10-20T18:15:08.636000+00:00
Original source

how do you guys debug release mode only bugs in C++ ? just add a bunch of logs/prints ?

rektbyfaith
Administrator
0
10-20-2024, 06:21 PM
#2
Archived author: Deamon • Posted: 2024-10-20T18:21:42.732000+00:00
Original source

and use MSVC RelWithDebInfo
rektbyfaith
10-20-2024, 06:21 PM #2

Archived author: Deamon • Posted: 2024-10-20T18:21:42.732000+00:00
Original source

and use MSVC RelWithDebInfo

rektbyfaith
Administrator
0
10-20-2024, 06:22 PM
#3
Archived author: Deamon • Posted: 2024-10-20T18:22:20.583000+00:00
Original source

I write code in Clion + gcc. But for finding and fixing bugs I go MSVC
rektbyfaith
10-20-2024, 06:22 PM #3

Archived author: Deamon • Posted: 2024-10-20T18:22:20.583000+00:00
Original source

I write code in Clion + gcc. But for finding and fixing bugs I go MSVC

rektbyfaith
Administrator
0
10-20-2024, 06:23 PM
#4
Archived author: Deamon • Posted: 2024-10-20T18:23:05.230000+00:00
Original source

also, for performance optimizations, I go to MSVC as well. It's profiler is unmatched on windows
rektbyfaith
10-20-2024, 06:23 PM #4

Archived author: Deamon • Posted: 2024-10-20T18:23:05.230000+00:00
Original source

also, for performance optimizations, I go to MSVC as well. It's profiler is unmatched on windows

rektbyfaith
Administrator
0
10-20-2024, 06:23 PM
#5
Archived author: Titi • Posted: 2024-10-20T18:23:14.946000+00:00
Original source

I always use relwithdebinfo for the crashlogs, in this case it's not a crash just bad behavior, how can it help ?
rektbyfaith
10-20-2024, 06:23 PM #5

Archived author: Titi • Posted: 2024-10-20T18:23:14.946000+00:00
Original source

I always use relwithdebinfo for the crashlogs, in this case it's not a crash just bad behavior, how can it help ?

rektbyfaith
Administrator
0
10-20-2024, 06:24 PM
#6
Archived author: Titi • Posted: 2024-10-20T18:24:13.894000+00:00
Original source

I'm assuming it's most likely some uninitialized variable that's behaving differently in release mode
rektbyfaith
10-20-2024, 06:24 PM #6

Archived author: Titi • Posted: 2024-10-20T18:24:13.894000+00:00
Original source

I'm assuming it's most likely some uninitialized variable that's behaving differently in release mode

rektbyfaith
Administrator
0
10-20-2024, 06:25 PM
#7
Archived author: Deamon • Posted: 2024-10-20T18:25:55.782000+00:00
Original source

Yeah
rektbyfaith
10-20-2024, 06:25 PM #7

Archived author: Deamon • Posted: 2024-10-20T18:25:55.782000+00:00
Original source

Yeah

rektbyfaith
Administrator
0
10-20-2024, 06:44 PM
#8
Archived author: M'Dic • Posted: 2024-10-20T18:44:30.925000+00:00
Original source

Debug always initializes everything. So if u have a issue in just release then add some prints/logs/effects of somekind for debug. Its what we do with those edge cases.
rektbyfaith
10-20-2024, 06:44 PM #8

Archived author: M'Dic • Posted: 2024-10-20T18:44:30.925000+00:00
Original source

Debug always initializes everything. So if u have a issue in just release then add some prints/logs/effects of somekind for debug. Its what we do with those edge cases.

rektbyfaith
Administrator
0
10-20-2024, 06:47 PM
#9
Archived author: Duran • Posted: 2024-10-20T18:47:51.891000+00:00
Original source

TC_LOG_ERROR("x", "{}", x) everywhere <:kekw:1115251543751532674>
rektbyfaith
10-20-2024, 06:47 PM #9

Archived author: Duran • Posted: 2024-10-20T18:47:51.891000+00:00
Original source

TC_LOG_ERROR("x", "{}", x) everywhere <:kekw:1115251543751532674>

rektbyfaith
Administrator
0
10-20-2024, 06:56 PM
#10
Archived author: M'Dic • Posted: 2024-10-20T18:56:36.089000+00:00
Original source

Oh sometimes dependi g on the situstion i just have it do a player say or chat message
rektbyfaith
10-20-2024, 06:56 PM #10

Archived author: M'Dic • Posted: 2024-10-20T18:56:36.089000+00:00
Original source

Oh sometimes dependi g on the situstion i just have it do a player say or chat message

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)