How to copy errors from compiler

Created at 01 Jun 2023, 14:01
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
JA

jacopotrono

Joined 17.06.2022

How to copy errors from compiler
01 Jun 2023, 14:01


Hi Everyone,

Is there a way to copy error messages from compiler in automate section?

Thanks in advance


@jacopotrono
Replies

firemyst
02 Jun 2023, 03:54

No.

I would vote for the feature as it's already been posted as a suggestion:

 


@firemyst

simoneraineop
06 Jun 2023, 15:00

To copy errors from a compiler, you can follow these general steps:

  1. Build or compile your code: Run the compilation process for your code, which will generate the error messages.

  2. Review the error output: The compiler will display error messages indicating any issues it encountered during the compilation process. These messages typically provide information about the error, including the file name, line number, and a description of the problem.

  3. Select the error messages: Use your mouse or keyboard to select the error messages you want to copy. You can click and drag to select a specific portion or use keyboard shortcuts like Ctrl+A (Windows) or Command+A (Mac) to select all the text.

  4. Copy the selected errors: Once you have selected the desired error messages, right-click and choose the "Copy" option, or use the keyboard shortcut Ctrl+C (Windows) or Command+C (Mac) to copy the text to the clipboard.

  5. Paste the errors: Open a text editor, code editor, or any other application where you want to paste the error messages, and use the paste command (Ctrl+V on Windows or Command+V on Mac) to insert the copied errors.

By following these steps, you should be able to copy the error messages from the compiler and paste them into a separate file, an online forum for assistance, or share them with others for troubleshooting purposes.

 

 

 

 

 

 

 


@simoneraineop

... Deleted by UFO ...

mikefox
01 Dec 2023, 12:59 ( Updated at: 02 Dec 2023, 07:19 )

RE: How to copy errors from compiler

simoneraineop said: 

To copy errors from a compiler, you can follow these general steps:

Build or compile your code: Run the compilation process for your code, which will generate the error messages.

Review the error output: The compiler will display error messages indicating any issues it encountered during the compilation process. These messages typically provide information about the error, including the file name, line number, and a description of the problem.

Select the error messages: Use your mouse or keyboard to select the error messages you want to copy. You can click and drag to select a specific portion or use keyboard shortcuts like Ctrl+A (Windows) or Command+A (Mac) to select all the text.

Copy the selected errors: Once you have selected the desired error messages, right-click and choose the "Copy" option, or use the keyboard shortcut Ctrl+C (Windows) or Command+C (Mac) to copy the text to the clipboard.

Paste the errors: Open a text editor, code editor, or any other application where you want to paste the error messages, and use the paste command (Ctrl+V on Windows or Command+V on Mac) to insert the copied errors.

By following these steps, you should be able to copy the error messages from the compiler and paste them into a separate file, an online forum for assistance, or share them with others for troubleshooting purposes.

 

 

 

 

 

 

 

This dont work.

I Find it wery strange that the plattform builders have missed some wery obvious stuff. C trader have had time enough to fix this issues same comes to some markers on the charts. 


@mikefox

PanagiotisCharalampous
02 Dec 2023, 08:14

RE: RE: How to copy errors from compiler

mikefox7602 said: 

simoneraineop said: 

To copy errors from a compiler, you can follow these general steps:

Build or compile your code: Run the compilation process for your code, which will generate the error messages.

Review the error output: The compiler will display error messages indicating any issues it encountered during the compilation process. These messages typically provide information about the error, including the file name, line number, and a description of the problem.

Select the error messages: Use your mouse or keyboard to select the error messages you want to copy. You can click and drag to select a specific portion or use keyboard shortcuts like Ctrl+A (Windows) or Command+A (Mac) to select all the text.

Copy the selected errors: Once you have selected the desired error messages, right-click and choose the "Copy" option, or use the keyboard shortcut Ctrl+C (Windows) or Command+C (Mac) to copy the text to the clipboard.

Paste the errors: Open a text editor, code editor, or any other application where you want to paste the error messages, and use the paste command (Ctrl+V on Windows or Command+V on Mac) to insert the copied errors.

By following these steps, you should be able to copy the error messages from the compiler and paste them into a separate file, an online forum for assistance, or share them with others for troubleshooting purposes.

 

 

 

 

 

 

 

This dont work.

I Find it wery strange that the plattform builders have missed some wery obvious stuff. C trader have had time enough to fix this issues same comes to some markers on the charts. 

Hi there,

You can just use an IDE like Visual Studio. Most programmers do not delevop in cTrader. It's pointless for cTrader Team to dedicate resources to reinvent the wheel. It is preferable to delevop other unique features instead.

Best regards, 


@PanagiotisCharalampous

ctid7344167
04 Mar 2024, 05:50 ( Updated at: 05 Mar 2024, 04:40 )

To copy errors from a compiler, you typically need to access the output produced by the compiler, which usually appears in the terminal or command prompt window where you initiated the compilation process. Here's a general guide on how to copy errors from different types of compilers:

Terminal/Command Prompt (Unix-like systems - Linux, macOS, etc.): NCEdCloud

When you compile a program using a command like gcc or clang in the terminal, any errors or warnings generated during the compilation process will be displayed in the terminal window.
To copy errors, simply select the text that represents the error message using your mouse or keyboard. On most systems, you can use keyboard shortcuts like Ctrl+C to copy the selected text.
After copying the errors, you can paste them into a text editor or any other application for further analysis or reference.


@ctid7344167