Jump to content

Line by line debug with SciTE?


Guillermo
 Share

Recommended Posts

Hi.

Is it possible to run a script from within SciTE so that it performs every command one by one stopping between commands?

I know there's this debug mode with the tray icon. I'm not looking for syntax errors, but rather for reasons for misbehaviours.

Thanks,

Guillermo

P. S.: Sorry, I think this isn't the right place to ask this...

Edited by Guillermo
Link to comment
Share on other sites

  • Developers

Hi.

Is it possible to run a script from within SciTE so that it performs every command one by one stopping between commands?

I know there's this debug mode with the tray icon. I'm not looking for syntax errors, but rather for reasons for misbehaviours.

Thanks,

Guillermo

P. S.: Sorry, I think this isn't the right place to ask this...

This is not something that can be done from SciTE but needs to be coded inside of AutoIt3.exe.

It is on the TODO list.

SciTE has only a LUA script which adds ConsoleWrite after each line to give you a "poor-man's" trace capability....

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

This is not something that can be done from SciTE but needs to be coded inside of AutoIt3.exe.

It is on the TODO list.

SciTE has only a LUA script which adds ConsoleWrite after each line to give you a "poor-man's" trace capability....

Thank you for this tip, I didn't know that.

But there is a bug:

ConsoleWrite is placed inside

Select

Case ...

Case ...

EndSelect

and AutoIt reports syntax error

Link to comment
Share on other sites

  • Developers

Thank you for this tip, I didn't know that.

But there is a bug:

ConsoleWrite is placed inside

Select

Case ...

Case ...

EndSelect

and AutoIt reports syntax error

That's an AU3Check error because its not really normal to have a consolewrite on the line after Select. Just hit the "Continue Anyway" button and ignore this error...

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...