What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Possible to debug plugins with vs debugger?

parrot

Community Developer
Joined
Feb 5, 2012
Messages
222
Reaction score
7
I would like to use a debugger to find some logic errors in my code. Is it possible to attach the visual studio debugger and set breakpoints in my plugins?
 
I would like to use a debugger to find some logic errors in my code. Is it possible to attach the visual studio debugger and set breakpoints in my plugins?
Yep. Just start the bot normally then attach to the process.
 
I believe you can also call Debugger.Launch(); anywhere in the code where you want to debug.
 
Is this still the case? My Rebornbuddy client seems to crash as soon as I attach the VS2019 debugger
 
Nothing really has changed, should be working. I'll see if there's something vs2019 related.
 
I was able to attach the debugger to a clean version of rb and debug kupo with vs2019. Its possible that if you have a 3rd party plugin or routine that they crash on purpose.
 
Back
Top