Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
PlusEMU Debug LOGGER
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Buu" data-source="post: 469925" data-attributes="member: 101914"><p>Hello, I took a look at the emulator for you.</p><p>The [ICODE]TryExecutePacket()[/ICODE] method of the [ICODE]PacketManager[/ICODE] class checks whether a debugger is attached.</p><p>If this is the case, [ICODE]Log.Debug()[/ICODE] is called.</p><p><strong>Source:</strong> <a href="https://github.com/Sledmore/PlusEMU/blob/ba70b05e36dbda8a96e5ab0dfc0f502fe2c94127/Communication/Packets/PacketManager.cs#L132" target="_blank">https://github.com/Sledmore/PlusEMU/blob/ba70b05e36dbda8a96e5ab0dfc0f502fe2c94127/Communication/Packets/PacketManager.cs#L132</a></p><p></p><p><strong>Q:</strong> What is a debugger?</p><p><strong>A:</strong> A tool that attaches to a running application and allows programmers to inspect their code.</p><p></p><p>I'm assuming that you have the source code of the project and run it in Visual Studio, can that be?</p><p>If so, I wouldn't change anything here, although I certainly have some suggestions for improvement.</p><p>You most likely already have a compiled version of the project. Open the folder in which the project is located, you should have the following folders: [ICODE]bin\Debug\<framework-version>[/ICODE].</p><p>There should now be an executable file that you can use instead.</p><p></p><p>You can also do this in Visual Studio, of course, but you seem to want to use the server for a production environment, for which Visual Studio is overkill for and the IDE is just used for an unintended purpose at this point, apart from that it can also have a negative impact on performance.</p><p>If you insist anyway, you only have to use the release configuration to start the application instead of the debug configuration.</p><p></p><p>[ATTACH=full]12534[/ATTACH]</p><p>[ATTACH=full]12535[/ATTACH]</p></blockquote><p></p>
[QUOTE="Buu, post: 469925, member: 101914"] Hello, I took a look at the emulator for you. The [ICODE]TryExecutePacket()[/ICODE] method of the [ICODE]PacketManager[/ICODE] class checks whether a debugger is attached. If this is the case, [ICODE]Log.Debug()[/ICODE] is called. [B]Source:[/B] [URL]https://github.com/Sledmore/PlusEMU/blob/ba70b05e36dbda8a96e5ab0dfc0f502fe2c94127/Communication/Packets/PacketManager.cs#L132[/URL] [B]Q:[/B] What is a debugger? [B]A:[/B] A tool that attaches to a running application and allows programmers to inspect their code. I'm assuming that you have the source code of the project and run it in Visual Studio, can that be? If so, I wouldn't change anything here, although I certainly have some suggestions for improvement. You most likely already have a compiled version of the project. Open the folder in which the project is located, you should have the following folders: [ICODE]bin\Debug\<framework-version>[/ICODE]. There should now be an executable file that you can use instead. You can also do this in Visual Studio, of course, but you seem to want to use the server for a production environment, for which Visual Studio is overkill for and the IDE is just used for an unintended purpose at this point, apart from that it can also have a negative impact on performance. If you insist anyway, you only have to use the release configuration to start the application instead of the debug configuration. [ATTACH type="full" alt="1.PNG"]12534[/ATTACH] [ATTACH type="full" alt="2.PNG"]12535[/ATTACH] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
PlusEMU Debug LOGGER
Top