Page 1 of 1

Remote debugging (is this of topic?)

Posted: Thu Feb 02, 2012 2:41 pm
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 :)

Re: Remote debugging (is this of topic?)

Posted: Thu Feb 02, 2012 4:57 pm
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/

Re: Remote debugging (is this of topic?)

Posted: Thu Feb 02, 2012 7:20 pm
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.

Re: Remote debugging (is this of topic?)

Posted: Thu Feb 02, 2012 8:16 pm
by xorc1zt
which debugger are you using ?

With microsoft Windbg you can break at anytime with ctrl+break or clicking the PAUSE button.

Re: Remote debugging (is this of topic?)

Posted: Thu Feb 02, 2012 8:26 pm
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