dedmen / ArmaDebugEngine

A still experimental Script Debugger for Arma 3
Other
47 stars 10 forks source link

Request: validate breakpoint #9

Open billw2012 opened 4 years ago

billw2012 commented 4 years ago

Right now I am consciously peppering the code around where i want to stop with breakpoints as they aren't validated as actually correct. Getting a return from the Set Breakpoint command with the nearest appropriate location (+code snippet/whatever context is available for validation) would be perfect.

dedmen commented 4 years ago

Getting a return from the Set Breakpoint command with the nearest appropriate location (+code snippet/whatever context is available for validation) would be perfect.

ADE doesn't know which scripts exist where or when or if they might at some point. So it cannot look up the script and see if it can set the breakpoint in there, as it doesn't know the script.

dedmen commented 4 years ago

I can mark a breakpoint as "unverified" and as soon as it his the same source file, itll find the BP and at that point it can verify and tell you if it failed. It won't be instant, but it will atleast tell you that it didn't work