[DiscordArchive] Why would anpc gets stuck in evade ?
[DiscordArchive] Why would anpc gets stuck in evade ?
Archived author: jackpoz • Posted: 2025-09-14T12:14:20.493000+00:00
Original source
well, then you need to set up a proper development environment with an IDE and a working debugger
Archived author: Crane • Posted: 2025-09-14T12:18:44.067000+00:00
Original source
The only thing I managed to do was with the crashlogs as described here: https://community.trinitycore.org/topic/...-continue/ for Linux I have never understood the rest.
[Embed: Tutorial for debugging, crashlogs, edit and continue]
A lot of people have asked how to debug so I made this short guide on how to set up debugging.This guide only tells you how to actually set up debugging in TrinityCore on Windows and Linux. This will not explain the basics of debugging. You can google those or play around with the debugger to lea...
https://community.trinitycore.org/topic/...-continue/
Archived author: jackpoz • Posted: 2025-09-14T12:18:57.365000+00:00
Original source
oh but debugging is not about reading crashlogs
Archived author: Crane • Posted: 2025-09-14T12:19:29.772000+00:00
Original source
Debugging on linux. You can debug on linux by using GDB.
- Here is a good video about it: https://www.youtube.com/watch?v=sCtY--xRUyI
- Basically you
-- Start the authserver
-- Start the worldserver by using "gdb ./worldserver"
-- Enter breakpoints by using break command on gdb
-- Use the run command on gdb to start the server
-- You are now debugging
- You may also be interested in using VScode or some other more visual debuggers. https://www.youtube.com/watch?v=B0xTgyCwsAo
Archived author: jackpoz • Posted: 2025-09-14T12:19:49.073000+00:00
Original source
debugging is about running the execution 1 statement at a time, inspecting variable values, understanding why thing behave in their way
Archived author: jackpoz • Posted: 2025-09-14T12:20:18.952000+00:00
Original source
you can debug without dealing with a crashlog at all
Archived author: jackpoz • Posted: 2025-09-14T12:21:22.010000+00:00
Original source
yeah no, you need a IDE and GDB is not an IDE
Archived author: Crane • Posted: 2025-09-14T12:22:00.281000+00:00
Original source
I've never understood that before. I guess I'm not that talented at it.
Archived author: jackpoz • Posted: 2025-09-14T12:23:18.987000+00:00
Original source
I would strongly recommend to just use Visual Studio
Archived author: jackpoz • Posted: 2025-09-14T12:23:44.272000+00:00
Original source
aaaand start debugging a Hello World application, not TC