Bug DBGp Response Error: error code 206 - eclipse

I have used Xdebug of Eclipse 3 months so far. And it runs really well.
However, I got a issue of Xdebug which is "DBGp Response Error: eval:=206 msg:error evaluating code" ( in Error Log).
After I investigate the error, I find that issue is:
206 - Error evaluating code (use from eval() (or perhaps property_get
for a full name get))"
This is reference from http://xdebug.org/docs-dbgp.php
I have taken 2 days for this issue, and nothing has changed.
Please help me solve this. Many thanks and strong appreciation for your help.

Try deleting your watches. You can read the story of how this worked for me in PHPStorm.

It is probably an eval that (your IDE) is doing wrong. Either the symbol does not exist, or the syntax is incorrect. I am not sure where your error_log comes from (do you mean xdebug.remote_log?), but that will also indicate what eval command was sent by the IDE. If you could amend your question with the exact log lines before and after your 206 error too, I can give a better clue. In general, this isn't much of an issue, as it's often not possible to eval specific code.

CentOS 7.7
PHP 7.2 and PHP 7.4
Apache and cli
Same symptoms " The strange in here is that it has run well, and suddenly can not debug with those things in error log" as #ndnguyen
Worked great. Then suddenly didn't work without explanation. I tried updating everything, several different config options, etc, etc.
Just that stupid little check box. FYI: The IDE is vscode.

Related

Visual Studio Code Factory Reset

I keep getting a error when I debug and run my HTML doc. I don't know how to fix it, so I just want to factory reset everything and start over fresh. Apparently uninstalling and reinstalling doesn't help as I tried...and am still getting the same issue.
This is the error I'm getting:
crbug/1173575, non-JS module files deprecated.
chromewebdata/(index)꞉6545:22:6770
I have no idea how to fix this or even what the direct issue is. I've looked online and tried the 'clear out the launch.json', but that didn't work. I have an HTML assignment due in 3 days. I hope someone out there can help me or give me a good HTML program recommendation.

Netbeans php-cs-fixer end up with error "Files that were not fixed due to errors reported during linting after fixing:"

I am using php-cs-fixer for code formatting in Netbeans 8.2. When I try to format one file, it shows the error
Files that were not fixed due to errors reported during linting after fixing:
I searched for the fix in many websites, but couldn't get this fixed. Is there any way to fix this? I tried with both php-cs-fixer 1 and php-cs-fixer 2.
The error message means that PHP CS Fixer loaded some files from drive, apply changes on them, and then realised that files are not valid anymore (invalid PHP syntax) after those changes, thus it decided to not save it. That's one of the safety mechanism of PHP CS Fixer to not break your project.
This means that you have found an issue in PHP CS Fixer itself.
Please, verify you are using newest release, maybe the bug was already fixed!
If not, please consider to expose your configuration file (if any) and content of files you got listed at https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/new !
There is also an option to see what happen in progress.
$ ./vendor/bin/php-cs-fixer fix src/ErrorFile.php -vvv
The --verbose option will show the applied rules. When using the txt format it will also display progress notifications.
NOTE: if there is an error like "errors reported during linting after fixing", you can use this to be even more verbose for debugging purpose
-v: verbose
-vv: very verbose
-vvv: debug

F.conv2d stuck on my CentOS

I run my pytorch code well on mac and even on windows system but the same code seems stuck on CentOS6.3.
I debug with ipdb, and found the code was stuck at F.conv2d function:
> /home/work/anaconda2/envs/PyTorch/lib/python2.7/site-packages/torch/nn/modules/conv.py(301)forward()
300 return F.conv2d(input, self.weight, self.bias, self.stride,
--> 301 self.padding, self.dilation, self.groups)
302
ipdb> s
The running env was created with anaconda(python 2.7/3.6), pytorch version is 0.4.0.
I tried for a long time to resolve this problem and i tried. Do you have a suggestion? Thank you so much!
I reinstall CentOS6.3, and then upgrade glibc2.14, glibc2.17 due to the pytorch0.4.0 running error info.
Now everything is ok.
By the way, the pytorch0.3.1 perform well before i upgrade the glibc(up to 2.12). So i think the lastest pytorch0.4.0 may haven’t deal very well with glibc, leave running deadlock appearance and doesn’t tell any error and warning info, just stuck at F.conv2d in torch/nn/modules/conv.py(301).
See also: https://discuss.pytorch.org/t/f-conv2d-stuck-on-my-centos/19794/3

php executing differently on browser or command line

Good morning guys,
I just built a CentOS server with php 7.0.13 and apache 2.2 and the strangest thing is happening when testing it.
I had a curl script that works perfectly well through the command line but not when invoked through the browser, after investigating a bit, I realized that I can also not write to files if I do it through the browser, but I have no problem whatsoever doing it through the command line.
I assumed that the problem would be on two different php.ini files, but after verifying the phpinfo I realized that both the CL and the browser are loading the same, and all extensions seem to be loading correctly as well, by using get_current_user() I can also verify that the same user is executing both. I would assume the problem would be in apache, but I have no clue as to what could be causing it.
Can someone point out to possible avenues to solve the issue? I have no idea what to do from this point onwards.
As Hassan indicated the problem was with the user executing the script.
I commited an error thinking get_current_user() indicates the user executing the script, it does not, it indicates the file owner.
If you have a similar problem and need to figure who is executing the script use exec('whoami'); instead.
EDIT:Ok although that was one of the errors, the main error was on the fact that SELinux was activated, as soon as I deactivated the scripts started working perfectly.

Java was started but returned exit code=1073807364

I am using STS, jdk 1.6. It was working fine until now. I am getting this STS pop-up when I start it.
Java was started but returned exit code=1073807364
C:/jdk1.6.0_18/bin/javaw.exe
-Dosgi.requiredJavaVersion=1.5
...
... /15 more lines of stack on the pop-up window.
Any idea?
Found this; Looks like there is no one problem, that error code can come from a variety of events.
From what I can tell, this error code (0x40010004) arises in all sorts of situations, with (as you noted) no obvious common thread.
However this page says "0x40010004" means "the task is running"! So, I would surmise that the correct way to interpret it is as saying "this tasked has exited in a way that prevented it setting a proper exit code".
I don't know if this will help, but I would try looking in the Windows Event logs to see if the problem is being reported there.
found here: What is the cause of JVM exit code 1073807364?
From my experience, that error (described as "task is running") occurs when there is a thread in blocking mode, and the thread cannot be terminated by being interrupted (per the rules) so it lingers, causing the program to hang, and requiring a kill shot. I have experienced that error as recently as today (Sept 5, 2012), and that was the cause (because I did it deliberately).
There may be other causes, but that is one distinct possibility.
All I can suggest is updating your JDK to the latest release (1.6.0_23) and STS to the latest version (2.5.2) and seeing if the problem still persists.