Fast debugging with RadASM and ...

Started by Kernel, July 14, 2008, 08:57:25 PM

Previous topic - Next topic

Kernel

Hi all,

first of all long live RadASM !
(Having played enough with other IDEs to say that)

After coding in masm for quite some time now, I'm curious
how you guys usually go for debugging your stuff.

Assuming that Olly is the best option (as long as no kernel stuff is required),
I'm using 2 ways for debugging so far:

1) place an INT 3 at the right place and simply hit 'Run' (with Olly set as JITter)
bad: you gotta NOP out ur INT3 each time :\

2) place a NOP at the desired place, then hit ALT+SHIFT+F5 (Build).. and then CTRL+D (Run w/Debug [Olly])
Then in Olly hit CTRL+F (Find command) and enter 'NOP'.
bad: shitload of shortcuts and entering :\

ok, there's a 3rd one: Simply hit CTRL+D and do the scroll thingy.. well :\


Maybe somebody knows about a shorter/smarter way to do the job ???

Thanks

PS: While typing this, I had the idea to use an external macro app :eek
Defining only one shortcut with it, which does all the stuff mentioned in the 2nd option.
Should try that... :>

KetilO

It might be better to use RadASM's built in breakpoint handling.

Use Option / Addin Manager and select RADbg.
Check the Int 3 debug option.

You can now use Edit / Toggle BreakPoint (Alt+F8) to set / reset a breakpoint.
Or use Edit / Clear BreakPoints (Alt+Ctrl+F8) to clear all breakpoints.

KetilO

Kernel

Yikes, how did I miss that one in the load of pluginsĀ  :green

Thanks ! Works fine and looks like a winner - especially when it comes to multiple BPs.

But I ended up being curious about the sense of the 'Add breakpoint variable'.
I couldn't figure it out.. :? No BP list window or something for that :?