Remote debugging (is this of topic?)

Just starting out? Need help? Post your questions and find answers here.
PeterBotes
User
User
Posts: 63
Joined: Tue Nov 15, 2011 2:12 pm

Remote debugging (is this of topic?)

Post by PeterBotes »

I have been looking at remote debugging as this appears to be a great way to test a live machine, my question is can I just enable remote debugging / connect a cable and then press a "BREAK" button and it drops to an "assembly view" at the current location, regardless of the process it is in (in other words it always breaks)

Also is a good way of breaking at the point you want to (in your process) by adding a int3 to your code?

Thanks

Pete

P.S. If this post is off topic or I am being cheeky asking about remote debugging in the purebasic forum please delete this post or ask and I will delete it, the last thing I want to do is upset the members as I would be lost without you guys :)
xorc1zt
Enthusiast
Enthusiast
Posts: 276
Joined: Sat Jul 09, 2011 7:57 am

Re: Remote debugging (is this of topic?)

Post by xorc1zt »

dunno if this would help you but when i was doing remote debugging on a virtual machine i used this tool

http://virtualkd.sysprogs.org/
PeterBotes
User
User
Posts: 63
Joined: Tue Nov 15, 2011 2:12 pm

Re: Remote debugging (is this of topic?)

Post by PeterBotes »

xorc1zt, when you used the remote debugger, did it behave like any other debugger, you know at any point press a break key and it dropped into assembly listing, press another and it continued?

looking at remote debugging I might try firewire or something faster as long as it remains simple.

Thanks Pete.
xorc1zt
Enthusiast
Enthusiast
Posts: 276
Joined: Sat Jul 09, 2011 7:57 am

Re: Remote debugging (is this of topic?)

Post by xorc1zt »

which debugger are you using ?

With microsoft Windbg you can break at anytime with ctrl+break or clicking the PAUSE button.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: Remote debugging (is this of topic?)

Post by freak »

If you are talking about a PureBasic program, PB has support for network debugging.
See here (towards the bottom of the page): http://www.purebasic.com/documentation/ ... ugger.html
quidquid Latine dictum sit altum videtur
Post Reply