Hello sports fans.
It's been another fairly unproductive weekend over here at BaH Central, but I've managed to knock together a little Windows demo/test which perhaps some of you might like to try out for me please.
The test consists of two executables. One is a "debug" app. The other is a "debugger".
You can start them both on the same machine if you like - or on different machines if you are feeling adventurous ;-)
remote_debugging_test_win32.rar (1.3meg)
When they are both running, you can enter the IP address of the machine where the "debug" app is running. The default is the same machine. The apps use Port 31666.
Then, try to "Connect". If successful it should indicate as such, and enable the Pause button.
Note, that the "debug" app is a plain-old-BlitzMax app, except that the "appstub" module has been enhanced to work over TCP instead of IO pipes. This means that in theory, your app itself requires no changes to support this :-)
When you hit Pause, it is as if you had a DebugStop command in the code at that very place. Think of it like pausing music, except that now we pause our App. Once paused you can view the application stack, and see variable values etc (as you would in the IDE).
You can also Step through... or simply hit "Continue" and let it continue as it was. You can Pause it again at any time.
Obviously the "debugger" part of this demo would be best placed in an IDE, but this is just a demo of the technology.
Screenie :

Sorry the test app isn't more exciting, but I only spent 10 mins putting it together...
Oh, other things of interest. This works across network, as well as across platforms. (yes, you can run an App on Mac, and debug it on Windows - for example)
Comments, criticism, sarcasm and feedback welcome as usual.
Anyways... happy Burns day :-)
It's been another fairly unproductive weekend over here at BaH Central, but I've managed to knock together a little Windows demo/test which perhaps some of you might like to try out for me please.
The test consists of two executables. One is a "debug" app. The other is a "debugger".
You can start them both on the same machine if you like - or on different machines if you are feeling adventurous ;-)
remote_debugging_test_win32.rar (1.3meg)
When they are both running, you can enter the IP address of the machine where the "debug" app is running. The default is the same machine. The apps use Port 31666.
Then, try to "Connect". If successful it should indicate as such, and enable the Pause button.
Note, that the "debug" app is a plain-old-BlitzMax app, except that the "appstub" module has been enhanced to work over TCP instead of IO pipes. This means that in theory, your app itself requires no changes to support this :-)
When you hit Pause, it is as if you had a DebugStop command in the code at that very place. Think of it like pausing music, except that now we pause our App. Once paused you can view the application stack, and see variable values etc (as you would in the IDE).
You can also Step through... or simply hit "Continue" and let it continue as it was. You can Pause it again at any time.
Obviously the "debugger" part of this demo would be best placed in an IDE, but this is just a demo of the technology.
Screenie :

Sorry the test app isn't more exciting, but I only spent 10 mins putting it together...
Oh, other things of interest. This works across network, as well as across platforms. (yes, you can run an App on Mac, and debug it on Windows - for example)
Comments, criticism, sarcasm and feedback welcome as usual.
Anyways... happy Burns day :-)