BartmanAbyss / vscode-amiga-debug

One-stop Visual Studio Code Extension to compile, debug and profile Amiga C/C++ programs compiled by the bundled gcc 12.2 with the bundled WinUAE/FS-UAE.
GNU General Public License v3.0
312 stars 39 forks source link

Profiling any exe for investigation. #102

Closed rjobling closed 2 years ago

rjobling commented 2 years ago

I sometimes use the profiler to see how other games/demos are using the blitter and copper.

I do that by running the profiler on my own project as usual and then F12-ing into Winuae where I boot into the game/demo. From there If it succeeds I can sometimes capture a profile and see some of what's going on. Normally I can see the blitter activity and what the copper is up to.

Would it be possible to build functionality into the profiler so it can more effectively be used in this way?

It'd be great if I could run it using any exe and the assembly window would reflect the code that's being executed.

It'd also be great to configure resources in real-time so I can enter addresses and dimensions for bitmaps as I figure out what the code it doing.

BartmanAbyss commented 2 years ago

This is actually supported since a few releases, but I guess I hadn't documented it good enough. Here's a quick rundown

rjobling commented 2 years ago

Tested this and it works great thanks!